diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/eina_inline_lock_win32.x | 9 | ||||
-rw-r--r-- | src/include/eina_inline_lock_wince.x | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/include/eina_inline_lock_win32.x b/src/include/eina_inline_lock_win32.x index 1988724..56f0ce4 100644 --- a/src/include/eina_inline_lock_win32.x +++ b/src/include/eina_inline_lock_win32.x @@ -19,6 +19,15 @@ #ifndef EINA_INLINE_LOCK_WIN32_X_ #define EINA_INLINE_LOCK_WIN32_X_ +#ifdef EINA_UNUSED +# undef EINA_UNUSED +#endif +#ifdef __GNUC__ +# define EINA_UNUSED __attribute__((unused)) +#else +# define EINA_UNUSED +#endif + #include <windows.h> typedef CRITICAL_SECTION Eina_Lock; diff --git a/src/include/eina_inline_lock_wince.x b/src/include/eina_inline_lock_wince.x index 1af1aac..1343014 100644 --- a/src/include/eina_inline_lock_wince.x +++ b/src/include/eina_inline_lock_wince.x @@ -16,8 +16,8 @@ * if not, see <http://www.gnu.org/licenses/>. */ -#ifndef EINA_INLINE_LOCK_WIN32_X_ -#define EINA_INLINE_LOCK_WIN32_X_ +#ifndef EINA_INLINE_LOCK_WINCE_X_ +#define EINA_INLINE_LOCK_WINCE_X_ #ifdef EINA_UNUSED # undef EINA_UNUSED |