Changed order of include files; removed extraneous whitespace
[OpenFOAM-1.6.x.git] / applications / utilities / postProcessing / dataConversion / foamToTecplot360 / tecio / tecsrc / stdafx.h
blob066d102e7c732daf416bdf937ab64b3c5ea05500
1 /*
2 * NOTICE and LICENSE for Tecplot Input/Output Library (TecIO) - OpenFOAM
4 * Copyright (C) 1988-2009 Tecplot, Inc. All rights reserved worldwide.
6 * Tecplot hereby grants OpenCFD limited authority to distribute without
7 * alteration the source code to the Tecplot Input/Output library, known
8 * as TecIO, as part of its distribution of OpenFOAM and the
9 * OpenFOAM_to_Tecplot converter. Users of this converter are also hereby
10 * granted access to the TecIO source code, and may redistribute it for the
11 * purpose of maintaining the converter. However, no authority is granted
12 * to alter the TecIO source code in any form or manner.
14 * This limited grant of distribution does not supersede Tecplot, Inc.'s
15 * copyright in TecIO. Contact Tecplot, Inc. for further information.
17 * Tecplot, Inc.
18 * 3535 Factoria Blvd, Ste. 550
19 * Bellevue, WA 98006, USA
20 * Phone: +1 425 653 1200
21 * http://www.tecplot.com/
24 #if !defined STDAFX_H_
25 # define STDAFX_H_
28 ******************************************************************
29 ******************************************************************
30 ******* ********
31 ****** (C) 1988-2008 Tecplot, Inc. *******
32 ******* ********
33 ******************************************************************
34 ******************************************************************
37 * stdafx.h : include file for standard system include files,
38 * or project specific include files that are used frequently, but
39 * are changed infrequently
40 * Used for Windows only
42 #if defined _WIN32
45 * Set NDEBUG before including "custafx.h" since that file may
46 * use NDEBUG. (In fact, for SmartHeap builds this is the case.)
47 * CAM 2007-04-11
49 * Previous comment: "Note that _DEBUG is defined by the Windows compiler
50 * if any of the multi-threaded DLL runtime libraries are used."
52 #if !defined _DEBUG
53 #if !defined NDEBUG
54 #define NDEBUG
55 #endif
56 #endif
58 #if defined TECPLOTKERNEL
59 /* CORE SOURCE CODE REMOVED */
60 #endif /* TECPLOTKERNEL */
62 #if !defined MSWIN
63 #define MSWIN
64 #endif
66 #define ENGLISH_ONLY // remove to support non-english dll's
68 #if !defined WINVER
69 #define WINVER 0x0500
70 #endif
72 #if defined TECPLOTKERNEL
73 /* CORE SOURCE CODE REMOVED */
74 #if defined CHECKED_BUILD || defined _DEBUG && !defined COREAPI
75 #if defined _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES
76 #endif
77 #else
78 #endif
79 #endif /* TECPLOTKERNEL */
81 /* Windows builds are UNICODE */
82 #pragma warning(disable : 4786) /* truncated identifiers in debug symbol table. */
83 #pragma warning(disable : 4996) /* deprecated functions */
85 #if defined TECPLOTKERNEL
86 /* CORE SOURCE CODE REMOVED */
87 #if !defined UNICODE
88 #endif
89 #if !defined _AFXDLL
90 #endif
91 #if defined _M_IX86
92 #else
93 #endif
94 #if defined _WIN64
95 #if !defined _M_IA64 && !defined _M_AMD64
96 #endif
97 #endif
98 #if !defined MSWIN
99 #endif
100 #if !defined THREED
101 #endif
102 #ifndef _AFX_NO_AFXCMN_SUPPORT
103 #endif /* _AFX_NO_AFXCMN_SUPPORT */
104 #ifndef _AFX
105 #endif
106 #else /* !TECPLOTKERNEL */
107 #define AfxIsValidAddress(ptr,bb) ((ptr)!=NULL)
108 #endif
110 /* 64-bit adjustments */
111 #if defined _M_IA64 || defined _M_AMD64
112 #define WININT INT_PTR
113 #define WINUINT UINT_PTR
114 #else
115 #define WININT int
116 #define WINUINT UINT
117 #endif
119 #define WINCALLBACK CALLBACK
121 #if defined TECPLOTKERNEL
122 /* CORE SOURCE CODE REMOVED */
123 #if defined (NDEBUG)
124 #else
125 #endif
126 #endif /* TECPLOTKERNEL */
127 #endif /* _WIN32 */
130 #endif /* STDAFX_H_ */