mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 06:17:50 +08:00
4d2ffdfbcf
* fixed builting plplot with wxwidget feature on * [plplot] Use vcpkg_extract_source_archive_ex
13 lines
378 B
Diff
13 lines
378 B
Diff
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
|