X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Fint.qh;h=c1edf07c4b30b9949fe1ac99350baf5e7159bf94;hb=3654de311fe042687b432afccfd0f307eccdac7f;hp=d9ea61f0c8f3be1f76c368f4119b22a081a71d9a;hpb=437d67dbc7631d6c49e922990d96461d3ff4b7b2;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