diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c index 687e75b3..a5c3c0da 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -22,7 +22,9 @@ #include "serd/serd.h" #ifdef _WIN32 -# define WIN32_LEAN_AND_MEAN 1 +# ifdef _MSC_VER +# define WIN32_LEAN_AND_MEAN 1 +# endif # include <fcntl.h> # include <io.h> #endif |