diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-28 15:28:24 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-05-07 09:53:10 +0200 |
commit | e1dee32e2611bac4f4464c2a2f4a275fb5be5e69 (patch) | |
tree | 025b4fa3c54f608561dff97eef6da9ac795b2c27 | |
parent | c7d8d83c479f10f67041c6bea7fdeda9bf86045a (diff) | |
download | efl-e1dee32e2611bac4f4464c2a2f4a275fb5be5e69.tar.gz |
elua: remove the need to order the header correctly for Windows.
-rw-r--r-- | src/lib/elua/Elua.h | 7 | ||||
-rw-r--r-- | src/lib/elua/cache.c | 1 | ||||
-rw-r--r-- | src/lib/elua/elua.c | 1 | ||||
-rw-r--r-- | src/lib/elua/elua_private.h | 2 | ||||
-rw-r--r-- | src/lib/elua/io.c | 1 |
5 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/elua/Elua.h b/src/lib/elua/Elua.h index 3b087790b8..d960cf5f4c 100644 --- a/src/lib/elua/Elua.h +++ b/src/lib/elua/Elua.h @@ -48,10 +48,6 @@ extern "C" { #endif -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif - /** * @page elua_main Elua library (BETA) * @@ -458,4 +454,7 @@ EAPI int elua_util_error_report(const Elua_State *es, int status); } // extern "C" { #endif +#undef EAPI +#define EAPI + #endif diff --git a/src/lib/elua/cache.c b/src/lib/elua/cache.c index b856b0bde9..99d7b6a220 100644 --- a/src/lib/elua/cache.c +++ b/src/lib/elua/cache.c @@ -1,4 +1,3 @@ -#include "Elua.h" #include "elua_private.h" #include <sys/types.h> diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c index 3d34b1f9b1..a7c86f9a91 100644 --- a/src/lib/elua/elua.c +++ b/src/lib/elua/elua.c @@ -1,4 +1,3 @@ -#include "Elua.h" #include "elua_private.h" static Eina_Prefix *_elua_pfx = NULL; diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h index 01d8e4b1ac..9f62c5ff4b 100644 --- a/src/lib/elua/elua_private.h +++ b/src/lib/elua/elua_private.h @@ -28,6 +28,8 @@ #include <lualib.h> #include <lauxlib.h> +#include "Elua.h" + struct _Elua_State { lua_State *luastate; diff --git a/src/lib/elua/io.c b/src/lib/elua/io.c index 91eef6f372..d5b8a0c7d1 100644 --- a/src/lib/elua/io.c +++ b/src/lib/elua/io.c @@ -1,4 +1,3 @@ -#include "Elua.h" #include "elua_private.h" /* expand fname to full path name (so that PATH is ignored) plus turn |