aboutsummaryrefslogtreecommitdiff
path: root/ports/sciter/0001_patch_stdafx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sciter/0001_patch_stdafx.patch')
-rw-r--r--ports/sciter/0001_patch_stdafx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/sciter/0001_patch_stdafx.patch b/ports/sciter/0001_patch_stdafx.patch
new file mode 100644
index 000000000..b4a85d5d3
--- /dev/null
+++ b/ports/sciter/0001_patch_stdafx.patch
@@ -0,0 +1,12 @@
+diff --git a/include/sciter-win-main.cpp b/include/sciter-win-main.cpp
+index 9f2699e..104b70a 100644
+--- a/include/sciter-win-main.cpp
++++ b/include/sciter-win-main.cpp
+@@ -1,4 +1,6 @@
+-#include "stdafx.h"
++// It is better to disable stdafx.h by default.
++// And enable it explicitly via /Fstdafx.h compiler option (C/C++ - Advanced - Force Include File).
++// #include "stdafx.h"
+
+ #include <vector>
+