60 lines
1.9 KiB
C
60 lines
1.9 KiB
C
/*
|
|
* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
|
|
*
|
|
* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
|
|
* and international copyright treaties.
|
|
*
|
|
* Access to and use of the software is governed by the terms of the applicable OnixS Software
|
|
* Services Agreement (the Agreement) and Customer end user license agreements granting
|
|
* a non-assignable, non-transferable and non-exclusive license to use the software
|
|
* for it's own data processing purposes under the terms defined in the Agreement.
|
|
*
|
|
* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
|
|
* of this source code or associated reference material to any other location for further reproduction
|
|
* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
|
|
*
|
|
* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
|
|
* the terms of the Agreement is a violation of copyright law.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#if defined (_MSC_VER)
|
|
|
|
#if defined (ONIXS_FIXENGINE_AS_STATIC_LIBS)
|
|
#define ONIXS_FIXENGINE_API
|
|
#else
|
|
#if defined (ONIXS_FIXENGINE_EXPORTS)
|
|
#define ONIXS_FIXENGINE_API __declspec(dllexport)
|
|
#else
|
|
#define ONIXS_FIXENGINE_API __declspec(dllimport)
|
|
#endif
|
|
#endif
|
|
|
|
#define ONIXS_FIXENGINE_THROWABLE_API
|
|
#define ONIXS_FIXENGINE_THROWABLE ONIXS_FIXENGINE_THROWABLE_API
|
|
|
|
#elif (__GNUC__ >= 4)
|
|
|
|
#define ONIXS_FIXENGINE_API __attribute__ ((visibility("default")))
|
|
#define ONIXS_FIXENGINE_THROWABLE_API ONIXS_FIXENGINE_API
|
|
#define ONIXS_FIXENGINE_THROWABLE ONIXS_FIXENGINE_API
|
|
|
|
#else
|
|
|
|
#define ONIXS_FIXENGINE_API
|
|
#define ONIXS_FIXENGINE_THROWABLE_API
|
|
#define ONIXS_FIXENGINE_THROWABLE
|
|
|
|
#endif
|
|
|
|
#if defined (_MSC_VER)
|
|
#define \
|
|
ONIXS_FIXENGINE_API_DECL(typeKind, typeName) \
|
|
typeKind ONIXS_FIXENGINE_API typeName
|
|
#else
|
|
#define \
|
|
ONIXS_FIXENGINE_API_DECL(typeKind, typeName) \
|
|
typeKind typeName
|
|
#endif
|