aboutsummaryrefslogtreecommitdiff
path: root/ports/plplot/0002-wxwidgets-dev-fixes.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2019-01-11 12:44:31 -0800
committerPhil Christensen <philc@microsoft.com>2019-01-11 12:44:31 -0800
commit57c78037a4a8f0f7384504475c5510984657f0d2 (patch)
tree91928048e7001ea224d68da54d9bb43cbbd7970f /ports/plplot/0002-wxwidgets-dev-fixes.patch
parentbf4a864a73dfe0f68a70598c9f5087beca57f2c7 (diff)
parent1134de5eacf2052a936a943acea7f08ba06462d7 (diff)
downloadvcpkg-57c78037a4a8f0f7384504475c5510984657f0d2.tar.gz
vcpkg-57c78037a4a8f0f7384504475c5510984657f0d2.zip
Merge branch 'master' into dev/philc/4990
Diffstat (limited to 'ports/plplot/0002-wxwidgets-dev-fixes.patch')
-rw-r--r--ports/plplot/0002-wxwidgets-dev-fixes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/plplot/0002-wxwidgets-dev-fixes.patch b/ports/plplot/0002-wxwidgets-dev-fixes.patch
new file mode 100644
index 000000000..707c64796
--- /dev/null
+++ b/ports/plplot/0002-wxwidgets-dev-fixes.patch
@@ -0,0 +1,12 @@
+diff --git a/drivers/wxwidgets_dev.cpp b/drivers/wxwidgets_dev.cpp
+index f025bd8..f5881b1 100644
+--- a/drivers/wxwidgets_dev.cpp
++++ b/drivers/wxwidgets_dev.cpp
+@@ -31,6 +31,7 @@
+
+ // Headers needed for Rand
+ #ifdef WIN32
++#define _WINSOCKAPI_
+ // This include must occur before any other include of stdlib.h due to
+ // the #define _CRT_RAND_S
+ #define _CRT_RAND_S