Define LUA_USE_POSIX

This commit is contained in:
Jeremy Baxter 2023-07-24 12:09:37 +12:00
parent 929b2a7aa8
commit c09a47f790
2 changed files with 4 additions and 3 deletions

View file

@ -18,9 +18,8 @@ First and foremost, Callisto tries to satisfy these requirements:
- a library that works and integrates well with Lua and its - a library that works and integrates well with Lua and its
standard library, and is easy to use standard library, and is easy to use
Currently Callisto only works on POSIX operating systems such as Callisto only works on POSIX-compliant operating systems such as
Linux and the BSDs (mainly because I don't have a machine running Linux and the BSDs. There is no plan for a Windows port.
Windows).
## Dependencies ## Dependencies

View file

@ -8,6 +8,8 @@
#include <lua.h> #include <lua.h>
#define LUA_USE_POSIX
#define CALLISTO_VERSION_MAJOR "0" #define CALLISTO_VERSION_MAJOR "0"
#define CALLISTO_VERSION_MINOR "1" #define CALLISTO_VERSION_MINOR "1"
#define CALLISTO_VERSION_RELEASE "0" #define CALLISTO_VERSION_RELEASE "0"