File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,14 @@ extern "C" const struct Net_API NetworkInitializer pocoNetworkInitializer;
114
114
#define POCO_NET_FORCE_SYMBOL (s ) __pragma(comment (linker, " /export:_" #s))
115
115
#endif
116
116
#else // !Net_EXPORTS
117
- #if defined(_WIN64)
118
- #define POCO_NET_FORCE_SYMBOL (s ) __pragma(comment (linker, " /include:" #s))
119
- #elif defined(_WIN32)
120
- #define POCO_NET_FORCE_SYMBOL (s ) __pragma(comment (linker, " /include:_" #s))
117
+ #if !defined(POCO_NETWORK_INITIALIZER_INCLUDE_PATH)
118
+ #if defined(_WIN64)
119
+ #define POCO_NETWORK_INITIALIZER_INCLUDE_PATH " /include:"
120
+ #elif defined(_WIN32)
121
+ #define POCO_NETWORK_INITIALIZER_INCLUDE_PATH " /include:_"
122
+ #endif
121
123
#endif
124
+ #define POCO_NET_FORCE_SYMBOL (s ) __pragma(comment (linker, POCO_NETWORK_INITIALIZER_INCLUDE_PATH#s))
122
125
#endif // Net_EXPORTS
123
126
124
127
POCO_NET_FORCE_SYMBOL (pocoNetworkInitializer)
You can’t perform that action at this time.
0 commit comments