Assisted-by: Jay Satiro
Reviewed-by: Marcel Raad
Follow up to #9312
Closes #9375
#ifdef HAVE_WIN32_WINNT
/* includes start */
#ifdef WIN32
-/*
- * Don't include unneeded stuff in Windows headers to avoid compiler
- * warnings and macro clashes.
- * Make sure to define this macro before including any Windows headers.
- */
-# ifndef WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
-# endif
-# ifndef NOGDI
-# define NOGDI
-# endif
# include "../lib/setup-win32.h"
#endif
/* includes end */
# if defined(_UNICODE) && !defined(UNICODE)
# define UNICODE
# endif
+/*
+ * Don't include unneeded stuff in Windows headers to avoid compiler
+ * warnings and macro clashes.
+ * Make sure to define this macro before including any Windows headers.
+ */
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+# endif
+# ifndef NOGDI
+# define NOGDI
+# endif
# include <winerror.h>
# include <windows.h>
# ifdef HAVE_WINSOCK2_H