-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
liuhong
committed
Apr 28, 2022
1 parent
37a2573
commit 69e7b2a
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
|
||
#ifndef THUMBNAIL_EXPORT | ||
#define THUMBNAIL_EXPORT | ||
#include "ccglobal/export.h" | ||
|
||
#ifdef WIN32 | ||
#ifdef THUMBNAIL_DLL | ||
#define THUMBNAIL_API __declspec(dllexport) | ||
#else | ||
#define THUMBNAIL_API __declspec(dllimport) | ||
#endif | ||
#if USE_THUMBNAIL_DLL | ||
#define THUMBNAIL_API CC_DECLARE_IMPORT | ||
#elif USE_THUMBNAIL_STATIC | ||
#define THUMBNAIL_API CC_DECLARE_STATIC | ||
#else | ||
#if THUMBNAIL_DLL | ||
#define THUMBNAIL_API CC_DECLARE_EXPORT | ||
#else | ||
#ifdef THUMBNAIL_DLL | ||
#define THUMBNAIL_API __attribute__((visibility("default"))) | ||
#else | ||
#define THUMBNAIL_API | ||
#endif | ||
#define THUMBNAIL_API CC_DECLARE_STATIC | ||
#endif | ||
#endif | ||
|
||
#endif // THUMBNAIL_EXPORT |