home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / MFCINC.PAK / AFXV_MAC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.4 KB  |  52 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1995 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. // afxv_mac.h - target version/configuration control for Macintosh OS
  12.  
  13. #if !defined(_MAC)
  14.     #error afxv_mac.h is used only for Macintosh-targeted builds
  15. #endif
  16.  
  17. #if !defined(_M_M68K) && !defined(_M_MPPC)
  18.     #error afxv_mac.h is used only for Motorola M68000 and Motorola PowerPC builds
  19. #endif
  20.  
  21. #define SystemSevenOrLater 1
  22.  
  23. #define _beginthreadex(p1, p2, p3, p4, p5, p6)  NULL
  24. #define _endthreadex(p1)
  25.  
  26. // wcslen is defined in wlm
  27. extern "C" size_t WINAPI wcslen(const wchar_t*);
  28.  
  29. #ifdef _68K_
  30.     #define _AFX_NO_DEBUG_CRT
  31. #endif
  32.  
  33. #define _AFX_NO_SYNC_SUPPORT
  34. #define _AFX_NO_DAO_SUPPORT
  35. #define _AFX_NO_SOCKET_SUPPORT
  36. #define _AFX_NO_OCX_SUPPORT
  37. #define _AFX_NO_OCC_SUPPORT
  38.  
  39. #define OLE2ANSI
  40.  
  41. #ifdef _AFX_NO_DEBUG_CRT
  42. #ifdef _68K_
  43.     pascal void _AfxDebugBreak(void) = 0xA9FF;
  44.     #define AfxDebugBreak() _AfxDebugBreak()
  45. #else
  46.     extern "C" pascal void Debugger(void);
  47.     #define AfxDebugBreak() Debugger()
  48. #endif
  49. #endif
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.