mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 09:02:25 +00:00
make it also compilable with -std=c99 by not redefining extra_semicolon_, by appending N to it
This commit is contained in:
parent
47a8a69f1c
commit
7fed5bf41f
1 changed files with 1 additions and 1 deletions
2
gmqcc.h
2
gmqcc.h
|
@ -342,7 +342,7 @@ uint32_t util_crc32(const char *, int, register const short);
|
|||
while (N##_add(*++elements) != -1 && len--); \
|
||||
return N##_elements; \
|
||||
} \
|
||||
typedef char VECTOR_FILL(extra_semicolon_,__COUNTER__)
|
||||
typedef char VECTOR_FILL(extra_semicolon_##N,__COUNTER__)
|
||||
#define VECTOR_PROT(T,N) \
|
||||
extern T* N##_data ; \
|
||||
extern long N##_elements ; \
|
||||
|
|
Loading…
Reference in a new issue