Fix compiler warnings in Native Client and Linux builds.

This commit is contained in:
Sam Clegg committed 2014-06-20 11:10:16 -03:00
1 parent 6c5cb5400f
commit 7e52722dfd
10 files changed
+34 -7

No files matched your search

+8
View File
@@ -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__)