]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/threads.c
Add -werror option to q3map2 to make all warnings into errors
[xonotic/netradiant.git] / tools / quake3 / common / threads.c
index 054dc746625ef214d0b73ecc65793160db865cc6..0fb78ac4bd5963251b6c9a165fd38bdc2403c1f6 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "globaldefs.h"
+#include <stdint.h>
 #if !GDEF_OS_WINDOWS
 // The below define is necessary to use
 // pthreads extensions like pthread_mutexattr_settype
@@ -60,7 +61,7 @@ int GetThreadWork( void ){
 
        f = 40 * dispatch / workcount;
        if ( f < oldf ) {
-               Sys_Printf( "warning: progress went backwards (should never happen)\n" );
+               Sys_FPrintf( SYS_WRN, "WARNING: progress went backwards (should never happen)\n" );
                oldf = f;
        }
        while ( f > oldf )