summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/mfc30/afxv_cpu.h
blob: 8b83ae8ebdbdebbab6530521300655293bc45d9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Microsoft Foundation Classes C++ library.
// Copyright (C) 1992 Microsoft Corporation,
// All rights reserved.

// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and Microsoft
// QuickHelp and/or WinHelp documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.

// afxv_cpu.h - target version/configuration control for non-Intel CPUs

#if !defined(_M_MRX000) && !defined(_M_ALPHA) && !defined(_M_PPC) && !defined(_M_M68K) && !defined(_M_MPPC)
	#error afxv_cpu.h is only for MIPS R4000, DEC AXP, Motorola M68000, and Motorola PowerPC builds
#endif

/////////////////////////////////////////////////////////////////////////////

#ifdef _M_M68K
// specific overrides for MAC_68K...
#define AFXAPI __cdecl
#endif //_M_M68K

/////////////////////////////////////////////////////////////////////////////

#ifdef _M_MPPC
// specific overrides for MAC_PPC...
#define AFXAPI __cdecl
#endif //_M_MPPC

/////////////////////////////////////////////////////////////////////////////

#ifdef _MIPS_
// specific overrides for MIPS...
#define _AFX_PACKING    8       // default MIPS alignment (required)
#define _AFX_NO_DB_SUPPORT
#endif //_MIPS_

/////////////////////////////////////////////////////////////////////////////

#ifdef _ALPHA_
#if (_MSC_VER < 900)
#pragma warning(disable: 4135)  // common warning with Win32 headers
#define _AFX_NO_NESTED_DERIVATION
#endif
// specific overrides for ALPHA...
#define _AFX_PACKING	8		// default AXP alignment (required)
extern "C" void _BPT();
#pragma intrinsic(_BPT)
#define AfxDebugBreak() _BPT()
#endif  //_ALPHA_

/////////////////////////////////////////////////////////////////////////////

#ifdef _PPC_
#if (_MSC_VER < 900)
#pragma warning(disable: 4135)  // common warning with Win32 headers
#define _AFX_NO_NESTED_DERIVATION
#endif
// specific overrides for PPC...

#define _AFX_PACKING    8       // default PPC alignment (required)
#endif //_PPC_

/////////////////////////////////////////////////////////////////////////////