]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/picomodel/lwo/lwio.c
Wean off #define
[xonotic/netradiant.git] / libs / picomodel / lwo / lwio.c
index 0964273e747f926c3b8087a80eb66380f1e9f0f9..824a693fd8df2803247a66956f343374aa1a3119 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "../picointernal.h"
 #include "lwo2.h"
+#include <limits.h>
 
 
 /*
@@ -22,8 +23,7 @@
    read requests until flen is reset.
    ====================================================================== */
 
-#define INT_MIN     ( -2147483647 - 1 ) /* minimum (signed) int value */
-#define FLEN_ERROR INT_MIN
+const int FLEN_ERROR = INT_MIN;
 
 static int flen;