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.7 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 mfgbvr
*/
#include <common/library_indicators.h>
#ifdef EXPORTLIBRARY
#define EXPORTLIBRARY something else
#error ExportLibrary was already defined
#endif
#define EXPORTLIBRARY libmfgbvr
#if !defined(LIBMFGBVR) && !defined(IPLIB)
# error IPLIB or LIBMFGBVR is not defined
#endif
/* Handwritten code should use MFGBVR_API, not MFGBVREXPORT */
#define MFGBVR_API MFGBVREXPORT
#if IPLIB==libmfgbvr || defined(LIBMFGBVR)
# if defined(__lint)
# define MFGBVREXPORT __export(mfgbvr)
# define MFGBVRGLOBAL extern __global(mfgbvr)
# define MFGBVRPRIVATE extern __private(mfgbvr)
# elif defined(_WIN32)
# define MFGBVREXPORT __declspec(dllexport)
# define MFGBVRGLOBAL extern __declspec(dllexport)
# define MFGBVRPRIVATE extern
# else
# define MFGBVREXPORT
# define MFGBVRGLOBAL extern
# define MFGBVRPRIVATE extern
# endif
#else
# if defined(__lint)
# define MFGBVREXPORT __export(mfgbvr)
# define MFGBVRGLOBAL extern __global(mfgbvr)
# elif defined(_WIN32) && !defined(WNT_STATIC_LINK)
# define MFGBVREXPORT __declspec(dllimport)
# define MFGBVRGLOBAL extern __declspec(dllimport)
# else
# define MFGBVREXPORT
# define MFGBVRGLOBAL extern
# endif
#endif