Skip to content

Commit ba86e29

Browse files
committed
Add a single dummy export to each test DLL to ensure they create an import lib.
1 parent 86e9dd3 commit ba86e29

File tree

8 files changed

+40
-8
lines changed

8 files changed

+40
-8
lines changed

Release/tests/functional/http/client/stdafx.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
// stdafx.cpp :
88
// Include the standard header and generate the precompiled header.
99

10-
#include "stdafx.h"
10+
#include "stdafx.h"
11+
12+
#if WIN32
13+
__declspec(dllexport) int httpclient_test_generate_lib = 0;
14+
#endif
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
// stdafx.cpp :
22
// Include the standard header and generate the precompiled header.
33

4-
#include "stdafx.h"
4+
#include "stdafx.h"
5+
6+
#if WIN32
7+
__declspec(dllexport) int httplistener_test_generate_lib = 0;
8+
#endif

Release/tests/functional/json/stdafx.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
// stdafx.cpp :
88
// Include the standard header and generate the precompiled header.
99

10-
#include "stdafx.h"
10+
#include "stdafx.h"
11+
12+
#if WIN32
13+
__declspec(dllexport) int json_test_generate_lib = 0;
14+
#endif

Release/tests/functional/pplx/pplx_test/stdafx.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
// stdafx.cpp :
88
// Include the standard header and generate the precompiled header.
99

10-
#include "stdafx.h"
10+
#include "stdafx.h"
11+
12+
#if WIN32
13+
__declspec(dllexport) int pplx_test_generate_lib = 0;
14+
#endif

Release/tests/functional/streams/stdafx.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@
88
// Include the standard header and generate the precompiled header.
99

1010

11-
#include "stdafx.h"
11+
#include "stdafx.h"
12+
13+
#if WIN32
14+
__declspec(dllexport) int streams_test_generate_lib = 0;
15+
#endif

Release/tests/functional/uri/stdafx.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@
88
// stdafx.cpp :
99
// Include the standard header and generate the precompiled header.
1010

11-
#include "stdafx.h"
11+
#include "stdafx.h"
12+
13+
#if WIN32
14+
__declspec(dllexport) int pplx_test_generate_lib = 0;
15+
#endif

Release/tests/functional/utils/stdafx.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@
88
// stdafx.cpp :
99
// Include the standard header and generate the precompiled header.
1010

11-
#include "stdafx.h"
11+
#include "stdafx.h"
12+
13+
#if WIN32
14+
__declspec(dllexport) int pplx_test_generate_lib = 0;
15+
#endif

Release/tests/functional/websockets/client/stdafx.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
// stdafx.cpp :
88
// Include the standard header and generate the precompiled header.
99

10-
#include "stdafx.h"
10+
#include "stdafx.h"
11+
12+
#if WIN32
13+
__declspec(dllexport) int websocket_client_test_generate_lib = 0;
14+
#endif

0 commit comments

Comments
 (0)