define STRING and XSTRING in q_shared.h (#4054)

This commit is contained in:
Ludwig Nussel 2009-05-05 18:19:29 +00:00
parent 011285c232
commit ec846d23b2
3 changed files with 4 additions and 4 deletions

View file

@ -174,6 +174,10 @@ typedef int clipHandle_t;
#define NULL ((void *)0)
#endif
#define STRING(s) #s
// expand constants before stringifying them
#define XSTRING(s) STRING(s)
#define MAX_QINT 0x7fffffff
#define MIN_QINT (-MAX_QINT-1)