Skip to content

Commit

Permalink
Hopefully fixes compilation issue on Windows, addresses CoBrALab/atla…
Browse files Browse the repository at this point in the history
  • Loading branch information
vfonov committed Oct 27, 2016
1 parent 931df64 commit d8cdab3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libcommon/minc_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@

#include "minc_config.h"

#ifdef _MSC_VER
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#endif


static const char *_CONFIG_VAR[]=
{
"MINC_FORCE_V2",
Expand Down

0 comments on commit d8cdab3

Please sign in to comment.