OnixS C++ FIX Engine 2.79.1.0
C:/Users/Pasha/_Dev/fixforge-cpp/fix/cppEngine/include/OnixS/FIX/ABI.h
00001 /*
00002 * Copyright 2005-2011 Onix Solutions Limited [OnixS]. All rights reserved. 
00003 * 
00004 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law 
00005 * and international copyright treaties. 
00006 * 
00007 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
00008 * Services Agreement (the Agreement) and Customer end user license agreements granting 
00009 * a non-assignable, non-transferable and non-exclusive license to use the software 
00010 * for it's own data processing purposes under the terms defined in the Agreement.
00011 * 
00012 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part 
00013 * of this source code or associated reference material to any other location for further reproduction
00014 * or redistribution, and any amendments to this copyright notice, are expressly prohibited. 
00015 *
00016 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with 
00017 * the terms of the Agreement is a violation of copyright law. 
00018 */
00019 
00020 #if !defined(__ONIXS_FIXENGINE_ABI_H__)
00021 #define __ONIXS_FIXENGINE_ABI_H__
00022 
00023 #if defined (_MSC_VER)
00024 
00025 #if defined (ONIXS_FIXENGINE_EXPORTS)
00026 #define ONIXS_FIXENGINE_API __declspec(dllexport)
00027 #else
00028 #define ONIXS_FIXENGINE_API __declspec(dllimport)
00029 #endif
00030 
00031 #define ONIXS_FIXENGINE_THROWABLE_API 
00032 #define ONIXS_FIXENGINE_THROWABLE ONIXS_FIXENGINE_THROWABLE_API
00033 
00034 #elif (__GNUC__ >= 4)
00035 
00036 #define ONIXS_FIXENGINE_API __attribute__ ((visibility("default")))
00037 #define ONIXS_FIXENGINE_THROWABLE_API ONIXS_FIXENGINE_API
00038 #define ONIXS_FIXENGINE_THROWABLE ONIXS_FIXENGINE_API
00039 
00040 #else
00041 
00042 #define ONIXS_FIXENGINE_API
00043 #define ONIXS_FIXENGINE_THROWABLE_API
00044 #define ONIXS_FIXENGINE_THROWABLE
00045 
00046 #endif
00047 
00048 #if defined (_MSC_VER)
00049 #define ONIXS_FIXENGINE_API_DECL(typeKind, typeName) \
00050     typeKind ONIXS_FIXENGINE_API typeName
00051 #else
00052 #define ONIXS_FIXENGINE_API_DECL(typeKind, typeName) \
00053     typeKind typeName
00054 #endif
00055 
00056 #endif // __ONIXS_FIXENGINE_ABI_H__