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 
13 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
16 
17 #ifdef _MFC_VER // _MFC_VER
18 
19 // NOTE define _AFXEXT if this is a DLL
20 #include <Winsock2.h> // must get loaded before to prevent problems with _WINSOCKAPI_ vs _WINSOCK2API_ in VC2013
21 #include <afxwin.h> // MFC core and standard components
22 //#include <afxext.h> // MFC extensions
23 #include <afxole.h> // MFC OLE classes
24 #include <afxdisp.h> // MFC OLE automation classes
25 #ifndef _AFX_NO_AFXCMN_SUPPORT
26 #include <afxcmn.h> // MFC support for Windows Common Controls
27 #endif // _AFX_NO_AFXCMN_SUPPORT
28 #include <afxtempl.h>
29 #include <afxdtctl.h>
30 #endif
31 
32 #include <math.h>
33 
34 #ifndef GRAYGRAPH_LINK
35 #if defined(_MFC_VER) || defined(GRAY_STATICLIB) // GRAY_STATICLIB or _MFC_VER can be defined to make Gray* all static lib
36 #define GRAYGRAPH_LINK
37 #else
38 #define GRAYGRAPH_LINK __DECL_EXPORT
39 #endif
40 #endif
41 
42 //{{AFX_INSERT_LOCATION}}
43 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
44 
45 #endif // !defined(_INC_pch_H)