Browse Source

Only define WIN32_LEAN_AND_MEAN for MSVC

This avoids a warning with MinGW.
zrythm_meson
David Robillard 2 years ago
parent
commit
7994ec8e1b
  1. 4
      src/serdi.c

4
src/serdi.c

@ -22,7 +22,9 @@ @@ -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

Loading…
Cancel
Save