Skip to content

Commit

Permalink
more fixes for compilation with newer Visual Studio, addresses Insigh…
Browse files Browse the repository at this point in the history
  • Loading branch information
vfonov committed Jul 23, 2019
1 parent 1d4565b commit bd84a98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libcommon/minc_config.c
Expand Up @@ -23,6 +23,9 @@
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#endif

#ifdef _MSC_VER
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#endif
Expand Down
3 changes: 3 additions & 0 deletions libsrc2/minc2_private.h
Expand Up @@ -213,6 +213,9 @@ double rint(double v);
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#endif

#ifdef _MSC_VER
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#endif
Expand Down

0 comments on commit bd84a98

Please sign in to comment.