diff options
Diffstat (limited to 'public/sdk/inc/mfc42/afxv_mac.h')
-rw-r--r-- | public/sdk/inc/mfc42/afxv_mac.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/public/sdk/inc/mfc42/afxv_mac.h b/public/sdk/inc/mfc42/afxv_mac.h new file mode 100644 index 000000000..099e55c23 --- /dev/null +++ b/public/sdk/inc/mfc42/afxv_mac.h @@ -0,0 +1,52 @@ +// This is a part of the Microsoft Foundation Classes C++ library. +// Copyright (C) 1992-1995 Microsoft Corporation +// All rights reserved. +// +// This source code is only intended as a supplement to the +// Microsoft Foundation Classes Reference and related +// electronic documentation provided with the library. +// See these sources for detailed information regarding the +// Microsoft Foundation Classes product. + +// afxv_mac.h - target version/configuration control for Macintosh OS + +#if !defined(_MAC) + #error afxv_mac.h is used only for Macintosh-targeted builds +#endif + +#if !defined(_M_M68K) && !defined(_M_MPPC) + #error afxv_mac.h is used only for Motorola M68000 and Motorola PowerPC builds +#endif + +#define SystemSevenOrLater 1 + +#define _beginthreadex(p1, p2, p3, p4, p5, p6) NULL +#define _endthreadex(p1) + +// wcslen is defined in wlm +extern "C" size_t WINAPI wcslen(const wchar_t*); + +#ifdef _68K_ + #define _AFX_NO_DEBUG_CRT + #define _AFX_NO_SOCKET_SUPPORT +#endif + +#define _AFX_NO_SYNC_SUPPORT +#define _AFX_NO_DAO_SUPPORT +#define _AFX_NO_OCX_SUPPORT +#define _AFX_NO_OCC_SUPPORT +#define _AFX_NO_DOCOBJECT_SUPPORT +#define _AFX_NO_ATLSERVER_SUPPORT +#define OLE2ANSI + +#ifdef _AFX_NO_DEBUG_CRT +#ifdef _68K_ + pascal void _AfxDebugBreak(void) = 0xA9FF; + #define AfxDebugBreak() _AfxDebugBreak() +#else + extern "C" pascal void Debugger(void); + #define AfxDebugBreak() Debugger() +#endif +#endif + +///////////////////////////////////////////////////////////////////////////// |