PageRenderTime 17ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/TGame/TCommon/Entry/LibExportCom.h

http://awoe.googlecode.com/
C++ Header | 23 lines | 13 code | 10 blank | 0 comment | 0 complexity | c48492145bb6e5fc300d90ab6db02955 MD5 | raw file
 1#ifndef	__TCOMMON_LIB_EXPORT__
 2#define __TCOMMON_LIB_EXPORT__
 3
 4
 5#if defined(TCOM_BUILD_AS_DLL)
 6
 7#if defined(TCOM_LIB)
 8#define TCOM_API __declspec(dllexport)
 9
10#pragma warning(disable:4251)
11
12#else
13#define TCOM_API __declspec(dllimport)
14#endif
15
16#else
17
18#define TCOM_API		extern
19
20#endif
21
22
23#endif