Browse Source

Make sure WINVER is defined before anything else happens

Samuel Thibault 11 years ago
parent
commit
2caa6ce3f7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/top/starpu_top_connection.c

+ 4 - 1
src/top/starpu_top_connection.c

@@ -15,10 +15,13 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
  */
 
 
+#ifdef __MINGW32__
+#  define WINVER WindowsXP
+#endif
+
 #include <starpu_config.h>
 #include <starpu_config.h>
 
 
 #ifdef __MINGW32__
 #ifdef __MINGW32__
-#  define WINVER WindowsXP
 #  include <w32api.h>
 #  include <w32api.h>
 #endif
 #endif