Procházet zdrojové kódy

Make sure WINVER is defined before anything else happens

Samuel Thibault před 11 roky
rodič
revize
2caa6ce3f7
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  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