home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / include / afxv_cpu.h < prev    next >
C/C++ Source or Header  |  1998-06-16  |  2KB  |  46 lines

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