Add LOVE_UNUSED macro to stamp out all those "unused parameter" warnings

This commit is contained in:
Bill Meltsner
2011-10-12 14:03:38 -05:00
parent 56ae3a95fc
commit 57f9cf439e
6 changed files with 90 additions and 80 deletions
+4
View File
@@ -48,6 +48,10 @@
# define _CRT_SECURE_NO_WARNINGS
#endif
#ifndef LOVE_UNUSED
# define LOVE_UNUSED(x) (void)sizeof(x)
#endif
#ifndef LOVE_BUILD
# define LOVE_BUILD
# define LOVE_BUILD_STANDALONE