mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
LINKER error trying to use POCO NET #2168
This commit is contained in:
parent
27147dccdb
commit
11dc0e50a6
@ -93,13 +93,13 @@ void Net_API uninitializeNetwork();
|
||||
extern "C" const struct Net_API NetworkInitializer pocoNetworkInitializer;
|
||||
|
||||
#if defined(Net_EXPORTS)
|
||||
#if defined(_WIN64) || defined(_WIN32_WCE)
|
||||
#if defined(_WIN64) || (defined(_WIN32_WCE) && !defined(x86))
|
||||
#define POCO_NET_FORCE_SYMBOL(s) __pragma(comment (linker, "/export:"#s))
|
||||
#elif defined(_WIN32)
|
||||
#define POCO_NET_FORCE_SYMBOL(s) __pragma(comment (linker, "/export:_"#s))
|
||||
#endif
|
||||
#else // !Net_EXPORTS
|
||||
#if defined(_WIN64) || defined(_WIN32_WCE)
|
||||
#if defined(_WIN64) || (defined(_WIN32_WCE) && !defined(x86))
|
||||
#define POCO_NET_FORCE_SYMBOL(s) __pragma(comment (linker, "/include:"#s))
|
||||
#elif defined(_WIN32)
|
||||
#define POCO_NET_FORCE_SYMBOL(s) __pragma(comment (linker, "/include:_"#s))
|
||||
|
Loading…
x
Reference in New Issue
Block a user