Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
pch.h
Go to the documentation of this file.
1 //
6 //
7 #ifndef _INC_pch_H
8 #define _INC_pch_H
9 #ifndef NO_PRAGMA_ONCE
10 #pragma once
11 #endif
12 
15 
16 #ifdef _MFC_VER
17 // Windows with MFC
18 #include <Winsock2.h> // must get loaded before to prevent problems with _WINSOCKAPI_ vs _WINSOCK2API_ in VC2013
19 #include <afxwin.h> // MFC core and standard components
20 //#include <afxext.h> // MFC extensions
21 #include <afxdisp.h> // MFC OLE automation classes
22 #include <afxtempl.h> // MFC Templates
23 #ifndef _AFX_NO_AFXCMN_SUPPORT
24 #include <afxcmn.h> // MFC support for Windows Common Controls
25 #endif // _AFX_NO_AFXCMN_SUPPORT
26 #endif // _MFC_VER
27 
28 #ifndef GRAYMAPDATA_LINK
29 #if defined(_MFC_VER) || defined(GRAY_STATICLIB) // GRAY_STATICLIB or _MFC_VER can be defined to make Gray* all static lib
30 #define GRAYMAPDATA_LINK
31 #else
32 #define GRAYMAPDATA_LINK __DECL_EXPORT
33 #endif
34 #endif
35 
36 #endif // _INC_pch_H