diff options
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index b49b2278..69863735 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -82,3 +82,17 @@ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #cmakedefine WORDS_BIGENDIAN 1 + +/************************* MS Windows ***************************/ + +#ifdef _WIN32 +# ifdef _MSC_VER +/* On Microsoft compilers define inline to __inline on all others use inline */ +# undef inline +# define inline __inline + +# undef strdup +# define strdup _strdup +# endif // _MSC_VER +#endif /* _WIN32 */ + |