]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_exec.c
Comply with ISO C11. Engine will now compile with -pedantic, w/o extra warnings
[xonotic/darkplaces.git] / prvm_exec.c
index e3dc1902c0de2db622dd782f6a2ffefb90137348..b6766757d5a38dfb358b90564a525c5598f2b30e 100644 (file)
@@ -716,7 +716,7 @@ static void PRVM_StatementCoverageEvent(prvm_prog_t *prog, mfunction_t *func, in
        Con_Printf("prvm_coverage: %s just executed a statement at %s for the first time. Coverage: %.2f%%.\n", prog->name, PRVM_WhereAmI(vabuf, sizeof(vabuf), prog, func, statement), prog->statements_covered * 100.0 / prog->numstatements);
 }
 
-#ifdef __GNUC__
+#if defined (__GNUC__) && (_GNU_SOURCE)
 #define HAVE_COMPUTED_GOTOS 1
 #endif