cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e1dee32e2611bac4f4464c2a2f4a275fb5be5e69

commit e1dee32e2611bac4f4464c2a2f4a275fb5be5e69
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Tue Apr 28 15:28:24 2015 +0200

    elua: remove the need to order the header correctly for Windows.
---
 src/lib/elua/Elua.h         | 7 +++----
 src/lib/elua/cache.c        | 1 -
 src/lib/elua/elua.c         | 1 -
 src/lib/elua/elua_private.h | 2 ++
 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 3b08779..d960cf5 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 b856b0b..99d7b6a 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 3d34b1f..a7c86f9 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 01d8e4b..9f62c5f 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 91eef6f..d5b8a0c 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

-- 


Reply via email to