mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
First start plug-in architecture
This commit is contained in:
@@ -20,18 +20,14 @@
|
||||
#ifndef IFC_SERIALIZERS_API_H
|
||||
#define IFC_SERIALIZERS_API_H
|
||||
|
||||
#ifdef IFC_SHARED_BUILD
|
||||
#ifdef _WIN32
|
||||
#ifdef SERIALIZERS_EXPORTS
|
||||
#define SERIALIZERS_API __declspec(dllexport)
|
||||
#else
|
||||
#define SERIALIZERS_API __declspec(dllimport)
|
||||
#endif
|
||||
#else // simply assume *nix + GCC-like compiler
|
||||
#define SERIALIZERS_API __attribute__((visibility("default")))
|
||||
#ifdef _WIN32
|
||||
#ifdef SERIALIZERS_EXPORTS
|
||||
#define SERIALIZERS_API __declspec(dllexport)
|
||||
#else
|
||||
#define SERIALIZERS_API __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define SERIALIZERS_API
|
||||
#define SERIALIZERS_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user