Explorar el Código

mg_current_thread_id may be unused

bel hace 8 años
padre
commit
88bf37a33e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -1079,7 +1079,7 @@ struct mg_workerTLS {
 };
 };
 
 
 
 
-#if defined(__GNUC__)
+#if defined(__GNUC__) || defined(__MINGW32__)
 /* Show no warning in case system functions are not used. */
 /* Show no warning in case system functions are not used. */
 #pragma GCC diagnostic push
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wunused-function"
 #pragma GCC diagnostic ignored "-Wunused-function"