mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 17:30:44 +02:00
fix(SQLParser): static linking error on windows
This commit is contained in:
@@ -2,17 +2,20 @@
|
||||
#define SQLPARSER_SQLPARSER_WIN_H
|
||||
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#if defined(_MSC_VER)
|
||||
#define strncasecmp _strnicmp
|
||||
#define strcasecmp _stricmp
|
||||
#if defined(_WIN32)
|
||||
#define strncasecmp _strnicmp
|
||||
#define strcasecmp _stricmp
|
||||
#if defined(_USRDLL)
|
||||
#if defined(SQLParser_EXPORTS)
|
||||
#define SQLParser_API __declspec(dllexport)
|
||||
#else
|
||||
#define SQLParser_API __declspec(dllimport)
|
||||
#endif
|
||||
#endif
|
||||
#if defined(SQLParser_EXPORTS)
|
||||
#define SQLParser_API __declspec(dllexport)
|
||||
#else
|
||||
#define SQLParser_API __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(SQLParser_API)
|
||||
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||
#define SQLParser_API __attribute__ ((visibility ("default")))
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user