From 0bece0229c460f92dc185702ad1ca9e0114ffa26 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Thu, 3 Nov 2011 19:03:03 +0000 Subject: Changed a MSW to _WIN32. svn path=/trunk/externals/loaders/pdlua/; revision=15701 --- src/pdlua.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pdlua.c b/src/pdlua.c index f814727..bfd99eb 100644 --- a/src/pdlua.c +++ b/src/pdlua.c @@ -1120,6 +1120,7 @@ static int pdlua_error(lua_State *L) * */ { t_pdlua *o; + const char *s; if (lua_islightuserdata(L, 1)) @@ -1243,11 +1244,11 @@ static void pdlua_init(lua_State *L) lua_setglobal(L, "pd"); lua_getglobal(L, "pd"); lua_pushstring(L, "_iswindows"); -#ifdef MSW +#ifdef _WIN32 lua_pushboolean(L, 1); #else lua_pushboolean(L, 0); -#endif +#endif // _WIN32 lua_settable(L, -3); lua_pushstring(L, "_register"); lua_pushcfunction(L, pdlua_class_new); -- cgit v1.2.1