Commit 8fae601c authored by jdelange's avatar jdelange

* po-hi-c/include/po_hi_lua.h

   po-hi-c/src/po_hi_lua.c
   - Fix compilation issues



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@3678 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent afef857f
......@@ -23,6 +23,8 @@
#include <string.h>
#endif
#define __PO_HI_LUA_FUNCTION_NAME_MAX_SIZE 100
#ifdef HAVE_LIBLUA5_1
#define __PO_HI_USE_LUA
#else
......@@ -34,7 +36,6 @@
#include <lua5.1/lualib.h>
#include <lua5.1/lauxlib.h>
#define __PO_HI_LUA_FUNCTION_NAME_MAX_SIZE 100
typedef struct
{
......
......@@ -11,6 +11,8 @@
#include <po_hi_lua.h>
#include <po_hi_time.h>
#ifdef __PO_HI_USE_LUA
int __po_hi_lua_time_wait (lua_State* state)
{
__po_hi_time_t now;
......@@ -179,4 +181,6 @@ int __po_hi_lua_get_string (__po_hi_lua_context_t* ctx, char* varname, char* val
return __PO_HI_SUCCESS;
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment