forked from enlightenment/efl
Eina: add EINA_UNUSED on Windows. Should be in eina_types.h instead
SVN revision: 76341
This commit is contained in:
parent
0fe8e0f106
commit
b8b93194d0
|
@ -19,6 +19,15 @@
|
||||||
#ifndef EINA_INLINE_LOCK_WIN32_X_
|
#ifndef EINA_INLINE_LOCK_WIN32_X_
|
||||||
#define 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>
|
#include <windows.h>
|
||||||
|
|
||||||
typedef CRITICAL_SECTION Eina_Lock;
|
typedef CRITICAL_SECTION Eina_Lock;
|
||||||
|
|
Loading…
Reference in New Issue