Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore
Modified Files:
ecore.c ecore_exe.c ecore_private.h
Log Message:
make ecore module compilable on Windows(tm)
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ecore.c 3 Feb 2007 20:44:35 -0000 1.16
+++ ecore.c 5 Jul 2007 09:51:09 -0000 1.17
@@ -1,5 +1,7 @@
#include <locale.h>
+#ifndef WIN32
#include <langinfo.h>
+#endif /* WIN32 */
#include "ecore_private.h"
#include "Ecore.h"
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_exe.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -3 -r1.67 -r1.68
--- ecore_exe.c 27 Nov 2006 21:33:01 -0000 1.67
+++ ecore_exe.c 5 Jul 2007 09:51:09 -0000 1.68
@@ -1,5 +1,7 @@
#include <errno.h>
+#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
+#endif /* HAVE_SYS_WAIT_H */
#include "ecore_private.h"
#include "Ecore.h"
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_private.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- ecore_private.h 29 Jul 2006 10:05:13 -0000 1.42
+++ ecore_private.h 5 Jul 2007 09:51:09 -0000 1.43
@@ -24,7 +24,7 @@
#ifdef EAPI
#undef EAPI
#endif
-#ifdef WIN32
+#ifdef _MSC_VER
# ifdef BUILDING_DLL
# define EAPI __declspec(dllexport)
# else
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs