Skip to content

Commit

Permalink
define LUA_OK if not defined in notionflux
Browse files Browse the repository at this point in the history
Fixed compilation under Lua 5.1, it seems it's available since Lua 5.2
  • Loading branch information
knixeur committed Jun 21, 2019
1 parent 5dee2b5 commit 4d39759
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mod_notionflux/notionflux/notionflux.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@

#include "../notionflux.h"

#ifndef LUA_OK
#define LUA_OK 0
#endif

#define die(...) fprintf(stderr, __VA_ARGS__), exit(1)

#define SOCK_ATOM "_NOTION_MOD_NOTIONFLUX_SOCKET"
Expand Down

0 comments on commit 4d39759

Please sign in to comment.