Compiler: Rename UNUSED macro to DOLPHIN_UNUSED

UNUSED is quite a generic macro name and has potential to clash with
other libraries, so rename it to DOLPHIN_UNUSED to prevent that, as well
as make its naming consistent with the force inline macro
This commit is contained in:
Lioncash
2018-06-09 11:54:52 -04:00
parent 3f210836ad
commit d8f6d60189
3 changed files with 6 additions and 6 deletions

View File

@ -6,10 +6,10 @@
#if defined(__GNUC__) || __clang__
// Disable "unused function" warnings for the ones manually marked as such.
#define UNUSED __attribute__((unused))
#define DOLPHIN_UNUSED __attribute__((unused))
#else
// Not sure MSVC even checks this...
#define UNUSED
#define DOLPHIN_UNUSED
#endif
#ifdef _WIN32