]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/int.qh
Make it compile without XONOTIC defined
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / int.qh
index d9ea61f0c8f3be1f76c368f4119b22a081a71d9a..c1edf07c4b30b9949fe1ac99350baf5e7159bf94 100644 (file)
@@ -1,14 +1,11 @@
-#ifndef INT_H
-#define INT_H
+#pragma once
 
 #ifndef QCC_SUPPORT_INT
-    #define stoi(s) stof(s)
-    #define stob(s) stof(s)
-    #define itos(i) ftos(i)
+       #define stoi(s) stof(s)
+       #define stob(s) stof(s)
+       #define itos(i) ftos(i)
 #else
-    #define stoi(s) ((int) stof(s))
-    #define stob(s) ((bool) stof(s))
-    #define itos(i) ftos(i)
-#endif
-
+       #define stoi(s) ((int) stof(s))
+       #define stob(s) ((bool) stof(s))
+       #define itos(i) ftos(i)
 #endif