aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-04-05 08:26:48 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-04-05 08:26:48 +0000
commit898768c96359bc337c41b9bdb1e637c8670c18d6 (patch)
tree02bbef90c638da6b9c465181243a608f3b84a108 /legacy/ecore/src/lib/ecore/ecore.c
parentdefine strcasecmp() as stricmp() for vc++, remove (diff)
downloadefl-898768c96359bc337c41b9bdb1e637c8670c18d6.tar.gz
various fixes for vc++. I'll add the Visual Studio projects later
SVN revision: 47758
Diffstat (limited to 'legacy/ecore/src/lib/ecore/ecore.c')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c
index 7c10b965e8..8ccb8d2ec0 100644
--- a/legacy/ecore/src/lib/ecore/ecore.c
+++ b/legacy/ecore/src/lib/ecore/ecore.c
@@ -9,10 +9,13 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
+#ifndef _MSC_VER
+# include <unistd.h>
+#endif
+
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
@@ -48,7 +51,7 @@ static pid_t _ecore_memory_pid = 0;
static const char *_ecore_magic_string_get(Ecore_Magic m);
static int _ecore_init_count = 0;
-EAPI int _ecore_log_dom = -1;
+int _ecore_log_dom = -1;
int _ecore_fps_debug = 0;
/** OpenBSD does not define CODESET