Index: gyp/lua.gyp |
diff --git a/gyp/lua.gyp b/gyp/lua.gyp |
index 704b8e46a416825f2831c9fd7e1db4a1c285fb65..e030ffe5ed2cc37a48280cac867fce0f9193f779 100644 |
--- a/gyp/lua.gyp |
+++ b/gyp/lua.gyp |
@@ -57,7 +57,16 @@ |
], |
}, |
'defines': [ |
- "getlocaledecpoint()='.'" |
+ "getlocaledecpoint()='.'", |
+ ], |
+ 'conditions': [ |
+ ['skia_os != "win"', |
+ { |
+ 'defines': [ |
+ 'LUA_USE_POSIX', # Fix warning re dangerous tmpnam. |
+ ], |
+ } |
+ ], |
], |
}, |
], |