Enlightenment CVS committal Author : doursse Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_common.h Log Message: * Remove Windows code in evas_module.c and use evilness instead * Allow Windows Mobile to correctly load dll's * Use correct scheme for EAPI on Windows and include config.h when necessary * add -mwin32 to compiler flags when compiling with cegcc =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_common.h,v retrieving revision 1.93 retrieving revision 1.94 diff -u -3 -r1.93 -r1.94 --- evas_common.h 24 Jan 2008 00:57:20 -0000 1.93 +++ evas_common.h 14 Mar 2008 16:49:48 -0000 1.94 @@ -5,8 +5,11 @@ #ifndef EVAS_COMMON_H #define EVAS_COMMON_H +#ifdef HAVE_CONFIG_H +# include "config.h" /* so that EAPI in Evas.h is correctly defined */ +#endif + #include "Evas.h" -#include "config.h" /*****************************************************************************/ @@ -72,10 +75,6 @@ void *alloca (size_t); #endif -#ifdef _WIN32_WCE -#include <windows.h> -#endif - #include <ft2build.h> #include FT_FREETYPE_H #include FT_GLYPH_H @@ -126,15 +125,7 @@ /*****************************************************************************/ -#ifndef _WIN32_WCE typedef unsigned long long DATA64; -#else -typedef unsigned __int64 DATA64; -#define strdup _strdup -#define snprintf _snprintf -#define rewind(f) fseek(f, 0, SEEK_SET) -#endif - typedef unsigned int DATA32; typedef unsigned short DATA16; typedef unsigned char DATA8; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs