From: <no-...@en...> - 2008-08-28 12:42:00
|
Author: caro Date: 2008-08-28 05:41:58 -0700 (Thu, 28 Aug 2008) New Revision: 35712 Modified: trunk/PROTO/eina/configure.in trunk/PROTO/eina/src/lib/eina_error.c Log: * EAPI is now correctly defined on Windows * move an exported variable Modified: trunk/PROTO/eina/configure.in =================================================================== --- trunk/PROTO/eina/configure.in 2008-08-28 11:55:08 UTC (rev 35711) +++ trunk/PROTO/eina/configure.in 2008-08-28 12:41:58 UTC (rev 35712) @@ -205,7 +205,8 @@ ### Checks for linker characteristics lt_enable_auto_import="" case "$host_os" in - mingw*|cegcc*) + mingw* | cegcc*) + AC_DEFINE(EFL_EINA_BUILD, 1, [Define to mention that eina is built]) lt_enable_auto_import="-Wl,--enable-auto-import" ;; esac Modified: trunk/PROTO/eina/src/lib/eina_error.c =================================================================== --- trunk/PROTO/eina/src/lib/eina_error.c 2008-08-28 11:55:08 UTC (rev 35711) +++ trunk/PROTO/eina/src/lib/eina_error.c 2008-08-28 12:41:58 UTC (rev 35712) @@ -52,8 +52,6 @@ #define WHITE "\033[37;1m" #define NOTHING "\033[0m" -EAPI Eina_Error EINA_ERROR_OUT_OF_MEMORY = 0; - #ifdef DEBUG static Eina_Error_Level _error_level = EINA_ERROR_LEVEL_DBG; #else @@ -76,6 +74,8 @@ * API * *============================================================================*/ +EAPI Eina_Error EINA_ERROR_OUT_OF_MEMORY = 0; + /** * */ |