diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-17 20:49:47 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-17 20:49:47 +0000 |
| commit | fd5eec01f16990a3564e16421c7ce307c674dd45 (patch) | |
| tree | ee3fa6718a0c0ce1a530f7bf2fbdc66e82cab034 /plugins/dfsound/stdafx.h | |
| parent | 78a2df52ff3f2c081b1382bcb667c69df43976a9 (diff) | |
| download | pcsxr-fd5eec01f16990a3564e16421c7ce307c674dd45.tar.gz | |
Patch 10831 from Durandal_1707:
This should bring the number of warnings when compiling the Mac version with Clang and the -Wall option down to zero.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72386 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfsound/stdafx.h')
| -rw-r--r-- | plugins/dfsound/stdafx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/dfsound/stdafx.h b/plugins/dfsound/stdafx.h index 15ad99fa..812ebb9d 100644 --- a/plugins/dfsound/stdafx.h +++ b/plugins/dfsound/stdafx.h @@ -65,4 +65,10 @@ #endif
+#if defined (__GNUC__) || defined (__clang__)
+#define UNUSED_VARIABLE __attribute__((unused))
+#else
+#define UNUSED_VARIABLE
+#endif
+
#include "psemuxa.h"
|
