X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Fint.qh;h=c1edf07c4b30b9949fe1ac99350baf5e7159bf94;hb=418989bd3d3306930a7695842b19328b30b0316c;hp=d9ea61f0c8f3be1f76c368f4119b22a081a71d9a;hpb=9dd43f196ca7bc0979f94a0fb0f87cdd82a951c7;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