X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Fint.qh;h=c1edf07c4b30b9949fe1ac99350baf5e7159bf94;hb=57f6fd4b4bbd3fbe8180a1cf80c4e81ecaff2e61;hp=d9ea61f0c8f3be1f76c368f4119b22a081a71d9a;hpb=70b84d37e2cf1d5336c327cb43593024de2a2c6c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/int.qh b/qcsrc/lib/int.qh index d9ea61f0c..c1edf07c4 100644 --- a/qcsrc/lib/int.qh +++ b/qcsrc/lib/int.qh @@ -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