Преглед на файлове

mg_current_thread_id may be unused

bel преди 8 години
родител
ревизия
88bf37a33e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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. */
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wunused-function"