From 24baf7795574ca40be2c2be8da8cd483551a546a Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 16 Nov 2010 14:06:59 +0100 Subject: Cleanup architecture, ABI and OS definitions. --- src/lj_mcode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lj_mcode.c') diff --git a/src/lj_mcode.c b/src/lj_mcode.c index 9b1cae00..72002175 100644 --- a/src/lj_mcode.c +++ b/src/lj_mcode.c @@ -19,7 +19,7 @@ /* -- OS-specific functions ----------------------------------------------- */ -#if defined(LUA_USE_WIN) +#if LJ_TARGET_WINDOWS #define WIN32_LEAN_AND_MEAN #include @@ -49,7 +49,7 @@ static void mcode_setprot(void *p, size_t sz, DWORD prot) VirtualProtect(p, sz, prot, &oprot); } -#elif defined(LUA_USE_POSIX) +#elif LJ_TARGET_POSIX #include @@ -82,7 +82,7 @@ static void mcode_setprot(void *p, size_t sz, int prot) #elif LJ_64 -#error "Missing OS support for allocating executable memory" +#error "Missing OS support for explicit placement of executable memory" #else -- cgit v1.2.3-55-g6feb