mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix api export define error
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#ifndef _X_H_
|
||||
#define _X_H_
|
||||
|
||||
#ifdef DLL_EXPORTS
|
||||
#if defined(_MSC_VER)
|
||||
#define DLLAPI __declspec(dllexport)
|
||||
#elif defined(__GNUC__)
|
||||
#define DLLAPI __attribute__((visibility("default")))
|
||||
#else
|
||||
#define DLLAPI __declspec(dllimport)
|
||||
#define DLLAPI
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
Reference in New Issue
Block a user