0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/openttd/src-3rdparty-squirrel-squirrel-sqvm.cpp.patch
2022-04-18 14:35:58 +05:30

15 lines
537 B
Diff

diff -uNr OpenTTD-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp OpenTTD-1.9.1.mod/src/3rdparty/squirrel/squirrel/sqvm.cpp
--- OpenTTD-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp 2019-04-08 22:37:59.000000000 +0300
+++ OpenTTD-1.9.1.mod/src/3rdparty/squirrel/squirrel/sqvm.cpp 2019-06-30 00:08:31.019272864 +0300
@@ -6,7 +6,10 @@
#include <squirrel.h>
#include "sqpcheader.h"
+#pragma push_macro("type")
+#undef type
#include <math.h>
+#pragma pop_macro("type")
#include "sqopcodes.h"
#include "sqfuncproto.h"
#include "sqvm.h"