You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.9 KiB

//Copyright 2020 Siemens Digital Industries Software
//==================================================
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//==================================================
//Copyright 2020 Siemens Digital Industries Software
/**
@file
This file contains the declaration for the Dispatch Library adsfoundation
*/
#include <common/library_indicators.h>
#ifdef EXPORTLIBRARY
#define EXPORTLIBRARY something else
#error ExportLibrary was already defined
#endif
#define EXPORTLIBRARY libadsfoundation
#if !defined(LIBADSFOUNDATION) && !defined(IPLIB)
# error IPLIB or LIBADSFOUNDATION is not defined
#endif
/* Handwritten code should use ADSFOUNDATION_API, not ADSFOUNDATIONEXPORT */
#define ADSFOUNDATION_API ADSFOUNDATIONEXPORT
#if IPLIB==libadsfoundation || defined(LIBADSFOUNDATION)
# if defined(__lint)
# define ADSFOUNDATIONEXPORT __export(adsfoundation)
# define ADSFOUNDATIONGLOBAL extern __global(adsfoundation)
# define ADSFOUNDATIONPRIVATE extern __private(adsfoundation)
# elif defined(_WIN32)
# define ADSFOUNDATIONEXPORT __declspec(dllexport)
# define ADSFOUNDATIONGLOBAL extern __declspec(dllexport)
# define ADSFOUNDATIONPRIVATE extern
# else
# define ADSFOUNDATIONEXPORT
# define ADSFOUNDATIONGLOBAL extern
# define ADSFOUNDATIONPRIVATE extern
# endif
#else
# if defined(__lint)
# define ADSFOUNDATIONEXPORT __export(adsfoundation)
# define ADSFOUNDATIONGLOBAL extern __global(adsfoundation)
# elif defined(_WIN32) && !defined(WNT_STATIC_LINK)
# define ADSFOUNDATIONEXPORT __declspec(dllimport)
# define ADSFOUNDATIONGLOBAL extern __declspec(dllimport)
# else
# define ADSFOUNDATIONEXPORT
# define ADSFOUNDATIONGLOBAL extern
# endif
#endif