aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-26 05:40:53 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-26 05:40:53 +0000
commit184812f289126dea36f7c7c2641c8992a3fb4025 (patch)
tree0a944216311e4dcb1bc6c49aec2e19f65367af2a /legacy/ecore/src/lib/ecore/ecore.c
parentadd ECORE_CALLBACK_RENEW and ECORE_CALLBACK_CANCEL (diff)
downloadefl-184812f289126dea36f7c7c2641c8992a3fb4025.tar.gz
replace a lot of win32 ifdef hacks with autoconf checks
SVN revision: 33616
Diffstat (limited to 'legacy/ecore/src/lib/ecore/ecore.c')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c
index 41b2556f27..d549e35658 100644
--- a/legacy/ecore/src/lib/ecore/ecore.c
+++ b/legacy/ecore/src/lib/ecore/ecore.c
@@ -1,11 +1,16 @@
-#include <locale.h>
-#ifndef _WIN32
+#include <config.h>
+#ifdef HAVE_LOCALE_H
+# include <locale.h>
+#endif
+#ifdef HAVE_LANGINFO_H
# include <langinfo.h>
-#else
+#endif
+#ifdef HAVE_WINDOWS_H
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
-#endif /* _WIN32 */
+#endif
+
#include "ecore_private.h"
#include "Ecore.h"