diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2011-11-03 19:03:03 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 14:28:31 +0200 |
commit | 0bece0229c460f92dc185702ad1ca9e0114ffa26 (patch) | |
tree | b75269fd4276b921b3b3a885baf6249af4b1d309 /src | |
parent | 61f31586cbc4b9c358533e81847ad852fa0e1195 (diff) |
Changed a MSW to _WIN32.
svn path=/trunk/externals/loaders/pdlua/; revision=15701
Diffstat (limited to 'src')
-rw-r--r-- | src/pdlua.c | 5 |
1 files 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);
|