ADTF
Loading...
Searching...
No Matches
adtf_remotesdk.h
Go to the documentation of this file.
1
7#ifndef _ADTF_REMOTESDK_PACKAGE_HEADER_
8#define _ADTF_REMOTESDK_PACKAGE_HEADER_
9
10// for gcc, ignore deprecated warning when including rpc_pkg.h
11// for cl, disable warning 4290 when including rpc_pkg.h
12// these are caused by specific exception handling and can temporary be ignored
13#ifdef __GNUC__
14#pragma GCC diagnostic push
15#pragma GCC diagnostic ignored "-Wdeprecated"
16#elif _MSC_VER
17#pragma warning( push )
18#pragma warning( disable: 4290 )
19#endif
20
21// Settings A_UTILS is required to fix a bug in RPC_PKG
22#ifdef A_UTILS_VERSION_MAJOR
23#undef A_UTILS_VERSION_MAJOR
24#endif
25
26// 5 Because of a bug in PKG_RPC
27#define A_UTILS_VERSION_MAJOR 5
28
29#include <rpc/rpc.h>
30
31#ifdef GetObject
32#undef GetObject
33#endif
34
35#ifdef GetCurrentTime
36#undef GetCurrentTime
37#endif
38
39#undef A_UTILS_VERSION_MAJOR
40#define A_UTILS_VERSION_MAJOR 4
41
42//restore original warning environment
43#ifdef __GNUC__
44#pragma GCC diagnostic pop
45#elif _MSC_VER
46#pragma warning( pop )
47#endif
48
49
50#include <adtf_base.h>
51
52#ifndef DOEXPORT
53#define DOEXPORT /* */
54#define DOEXPORT_STATIC /* */
55#define DEF_DOEXPORT
56#endif
57
58//*********************************************************************************************
59#ifdef OPT_INLINE
60#undef OPT_INLINE
61#endif // OPT_INLINE
62
63#ifdef UCOM_OPT_INLINE
64#define OPT_INLINE inline
65#else
66#define OPT_INLINE /* */
67#endif // UCOM_OPT_INLINE
72
73#include "adtfremotesdk_pkg.h"
74
75#ifdef DEF_DOEXPORT
76#undef DOEXPORT
77#undef DEF_DOEXPORT
78#endif
79
80#endif //_ADTF_REMOTESDK_PACKAGE_HEADER_