mirror of https://github.com/encounter/SDL.git
SDL_string.c: tidy-up gcc2 va_copy defines after previous haiku commit.
This commit is contained in:
parent
d37c9777b9
commit
0abc0a6f32
|
@ -32,9 +32,7 @@
|
||||||
/* Visual Studio 2013 tries to link with _vacopy in the C runtime. Newer versions do an inline assignment */
|
/* Visual Studio 2013 tries to link with _vacopy in the C runtime. Newer versions do an inline assignment */
|
||||||
#undef va_copy
|
#undef va_copy
|
||||||
#define va_copy(dst, src) dst = src
|
#define va_copy(dst, src) dst = src
|
||||||
#endif
|
#elif defined(__GNUC__) && (__GNUC__ < 3)
|
||||||
|
|
||||||
#if __GNUC__ == 2
|
|
||||||
#define va_copy(to, from) __va_copy(to, from)
|
#define va_copy(to, from) __va_copy(to, from)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue