]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/lib/int.qh
Make it compile without XONOTIC defined
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / int.qh
1 #pragma once
2
3 #ifndef QCC_SUPPORT_INT
4         #define stoi(s) stof(s)
5         #define stob(s) stof(s)
6         #define itos(i) ftos(i)
7 #else
8         #define stoi(s) ((int) stof(s))
9         #define stob(s) ((bool) stof(s))
10         #define itos(i) ftos(i)
11 #endif