Explorar o código

Actually, option available from gcc 4.9

Sergey Linev %!s(int64=6) %!d(string=hai) anos
pai
achega
ddf3a35d17
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/civetweb.c

+ 2 - 2
src/civetweb.c

@@ -19046,7 +19046,7 @@ mg_get_system_info_impl(char *buffer, int buflen)
 	/* Build date */
 	{
 #if defined(GCC_DIAGNOSTIC)
-#if GCC_VERSION >= 50000
+#if GCC_VERSION >= 40900
 #pragma GCC diagnostic push
 /* Disable bogus compiler warning -Wdate-time, appeared in gcc5 */
 #pragma GCC diagnostic ignored "-Wdate-time"
@@ -19061,7 +19061,7 @@ mg_get_system_info_impl(char *buffer, int buflen)
 		            eol);
 
 #if defined(GCC_DIAGNOSTIC)
-#if GCC_VERSION >= 50000
+#if GCC_VERSION >= 40900
 #pragma GCC diagnostic pop
 #endif
 #endif