mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[cexpr] Fix a naming issue with uint
I didn't notice that uint is defined somewhere on Linux... until I tried compiling for windows (not defined). Use a define to keep the cast function naming nice.
This commit is contained in:
parent
b892ce637a
commit
48ecfcf411
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@
|
||||||
|
|
||||||
#include "libs/util/cexpr-parse.h"
|
#include "libs/util/cexpr-parse.h"
|
||||||
|
|
||||||
|
#undef uint
|
||||||
|
#define uint unsigned
|
||||||
|
|
||||||
#define BINOP(pre, opname, type, op) \
|
#define BINOP(pre, opname, type, op) \
|
||||||
static void \
|
static void \
|
||||||
pre##_##opname (const exprval_t *a, const exprval_t *b, exprval_t *c, \
|
pre##_##opname (const exprval_t *a, const exprval_t *b, exprval_t *c, \
|
||||||
|
|
Loading…
Reference in a new issue