diff options
Diffstat (limited to 'src/if_python.c')
-rw-r--r-- | src/if_python.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_python.c b/src/if_python.c index 343804668b..06c46bc37b 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -35,7 +35,7 @@ # undef _POSIX_THREADS #endif -#if defined(_WIN32) && defined(HAVE_FCNTL_H) +#if defined(MSWIN) && defined(HAVE_FCNTL_H) # undef HAVE_FCNTL_H #endif @@ -127,7 +127,7 @@ struct PyMethodDef { Py_ssize_t a; }; # define HINSTANCE long_u /* for generating prototypes */ # endif -# ifndef WIN3264 +# ifndef MSWIN # include <dlfcn.h> # define FARPROC void* # define HINSTANCE void* |