mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user