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

mg_current_thread_id may be unused

bel преди 8 години
родител
ревизия
39a43f1bdf
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -1083,6 +1083,7 @@ struct mg_workerTLS {
 /* Show no warning in case system functions are not used. */
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wunused-function"
+static unsigned long mg_current_thread_id(void) __attribute__((unused));
 #endif
 #if defined(__clang__)
 /* Show no warning in case system functions are not used. */