mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Add LOVE_UNUSED macro to stamp out all those "unused parameter" warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user