afxv_cpu.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_cpu.h - target version/configuration control for non-Intel CPUs
  11. #if !defined(_M_MRX000) && !defined(_M_ALPHA) && !defined(_M_PPC)
  12. #error afxv_cpu.h is only for MIPS R4000, DEC AXP, and IBM PowerPC builds
  13. #endif
  14. /////////////////////////////////////////////////////////////////////////////
  15. #ifdef _MIPS_
  16. // specific overrides for MIPS...
  17. #define _AFX_PACKING 8 // default MIPS alignment (required)
  18. #endif //_MIPS_
  19. /////////////////////////////////////////////////////////////////////////////
  20. #ifdef _ALPHA_
  21. // specific overrides for ALPHA...
  22. #define _AFX_PACKING 8 // default AXP alignment (required)
  23. #ifdef _AFX_NO_DEBUG_CRT
  24. extern "C" void _BPT();
  25. #pragma intrinsic(_BPT)
  26. #define AfxDebugBreak() _BPT()
  27. #else
  28. #define AfxDebugBreak() _CrtDbgBreak()
  29. #endif
  30. #endif //_ALPHA_
  31. /////////////////////////////////////////////////////////////////////////////
  32. #ifdef _PPC_
  33. // specific overrides for PPC...
  34. #define _AFX_PACKING 8 // default PPC alignment (required)
  35. #endif //_PPC_
  36. /////////////////////////////////////////////////////////////////////////////