Skip to content

Commit

Permalink
fakenect: workaround MSVC redefinition
Browse files Browse the repository at this point in the history
Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
  • Loading branch information
piedar committed May 31, 2017
1 parent 1419c5d commit c29570e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fakenect/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
#ifdef _WIN32
#include <direct.h>
#include <windows.h>
#define snprintf _snprintf
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#endif
#define popen _popen
#else
#include <time.h>
Expand Down

0 comments on commit c29570e

Please sign in to comment.