diff options
author | Mike Pall <mike> | 2010-11-16 14:06:59 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-11-16 15:03:40 +0100 |
commit | 24baf7795574ca40be2c2be8da8cd483551a546a (patch) | |
tree | e3e2629947dc8c8bd2d25d7a6c9ab7db54f814a1 /src/luaconf.h | |
parent | 1de05d1147a6fe69b55111d605eccdedc8c6c993 (diff) | |
download | luajit2-24baf7795574ca40be2c2be8da8cd483551a546a.tar.gz |
Cleanup architecture, ABI and OS definitions.
Diffstat (limited to 'src/luaconf.h')
-rw-r--r-- | src/luaconf.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/luaconf.h b/src/luaconf.h index 4506b5fb..7278b3ef 100644 --- a/src/luaconf.h +++ b/src/luaconf.h @@ -9,19 +9,8 @@ #include <limits.h> #include <stddef.h> -/* Try to determine supported features for a couple of standard platforms. */ -#if defined(_WIN32) -#define LUA_USE_WIN -#define LUA_DL_DLL -#elif defined(__linux__) || defined(__solaris__) || defined(__CYGWIN__) || \ - defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ - defined(__FreeBSD_kernel__) || (defined(__MACH__) && defined(__APPLE__)) -#define LUA_USE_POSIX -#define LUA_DL_DLOPEN -#endif - /* Default path for loading Lua and C modules with require(). */ -#ifdef LUA_USE_WIN +#if defined(_WIN32) /* ** In Windows, any exclamation mark ('!') in the path is replaced by the ** path of the directory of the executable file of the current process. @@ -58,7 +47,7 @@ #define LUA_INIT "LUA_INIT" /* Special file system characters. */ -#ifdef LUA_USE_WIN +#if defined(_WIN32) #define LUA_DIRSEP "\\" #else #define LUA_DIRSEP "/" |