make it also compilable with -std=c99 by not redefining extra_semicolon_, by appending N to it

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-07-30 13:48:53 +02:00
parent 47a8a69f1c
commit 7fed5bf41f

View file

@ -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 ; \