Explorar el Código

Make sure WINVER is defined before anything else happens

Samuel Thibault hace 11 años
padre
commit
2caa6ce3f7
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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.
  */
 
+#ifdef __MINGW32__
+#  define WINVER WindowsXP
+#endif
+
 #include <starpu_config.h>
 
 #ifdef __MINGW32__
-#  define WINVER WindowsXP
 #  include <w32api.h>
 #endif