Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.5 KiB

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 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. // afxv_mac.h - target version/configuration control for Macintosh OS
  11. #if !defined(_MAC)
  12. #error afxv_mac.h is used only for Macintosh-targeted builds
  13. #endif
  14. #if !defined(_M_M68K) && !defined(_M_MPPC)
  15. #error afxv_mac.h is used only for Motorola M68000 and Motorola PowerPC builds
  16. #endif
  17. #define SystemSevenOrLater 1
  18. #define _beginthreadex(p1, p2, p3, p4, p5, p6) NULL
  19. #define _endthreadex(p1)
  20. // wcslen is defined in wlm
  21. extern "C" size_t WINAPI wcslen(const wchar_t*);
  22. #ifdef _68K_
  23. #define _AFX_NO_DEBUG_CRT
  24. #define _AFX_NO_SOCKET_SUPPORT
  25. #endif
  26. #define _AFX_NO_SYNC_SUPPORT
  27. #define _AFX_NO_DAO_SUPPORT
  28. #ifndef MACOCX
  29. #define _AFX_NO_OCX_SUPPORT
  30. #define _AFX_NO_OCC_SUPPORT
  31. #endif
  32. #define _AFX_NO_DOCOBJECT_SUPPORT
  33. #define _AFX_NO_ATLSERVER_SUPPORT
  34. #define OLE2ANSI
  35. #ifdef _AFX_NO_DEBUG_CRT
  36. #ifdef _68K_
  37. pascal void _AfxDebugBreak(void) = 0xA9FF;
  38. #define AfxDebugBreak() _AfxDebugBreak()
  39. #else
  40. extern "C" pascal void Debugger(void);
  41. #define AfxDebugBreak() Debugger()
  42. #endif
  43. #endif
  44. /////////////////////////////////////////////////////////////////////////////