all repos — mgba @ f7ac90d74eba6bc556b609bb788e5a9d84926968

mGBA Game Boy Advance Emulator

Util: Add ifndef guard for UNUSED define
Jeffrey Pfau jeffrey@endrift.com
Mon, 26 Dec 2016 21:02:57 -0800
commit

f7ac90d74eba6bc556b609bb788e5a9d84926968

parent

2f1cb61d0197893cf0c3861e9130ff1aeaefb0b0

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/util/common.hsrc/util/common.h

@@ -56,7 +56,9 @@ #ifndef SSIZE_MAX

#define SSIZE_MAX ((ssize_t) (SIZE_MAX >> 1)) #endif +#ifndef UNUSED #define UNUSED(V) (void)(V) +#endif #ifndef M_PI #define M_PI 3.141592654f