Fix compiler warnings in Native Client and Linux builds.
This commit is contained in:
parent
b9b706f832
commit
1925fe9cf9
10 changed files with 34 additions and 7 deletions
|
@ -41,6 +41,14 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SDL_UNUSED
|
||||
# ifdef __GNUC__
|
||||
# define SDL_UNUSED __attribute__((unused))
|
||||
# else
|
||||
# define SDL_UNUSED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Some compilers use a special export keyword */
|
||||
#ifndef DECLSPEC
|
||||
# if defined(__WIN32__) || defined(__WINRT__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue