engine_rpc_exports.h 531 Bytes
Newer Older
hrchilds's avatar
hrchilds committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef ENGINE_RPC_EXPORTS_H
#define ENGINE_RPC_EXPORTS_H

#if defined(_WIN32)
#ifdef ENGINE_RPC_EXPORTS
#define ENGINE_RPC_API __declspec(dllexport)
#else
#define ENGINE_RPC_API __declspec(dllimport)
#endif
#ifdef USING_MSVC6
// Turn off warning about lack of DLL interface
#pragma warning(disable:4251)
// Turn off warning non-dll class is base for dll-interface class.
#pragma warning(disable:4275)
// Turn off warning about identifier truncation
#pragma warning(disable:4786)
#endif
#else
#define ENGINE_RPC_API
#endif

#endif