git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/eina-1.7@80778
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
* 1.7.3 release
+2012-12-12 Nicolas Aguirre
+ * Fix define EINA_UNUSED for win32 builds
#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;
* 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