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.

116 lines
2.9 KiB

  1. /*
  2. * Microsoft Confidential
  3. * Copyright (C) Microsoft Corporation 1991
  4. * All Rights Reserved.
  5. */
  6. /* --------------------------------------------------------------------------
  7. * Use the switch below to produce the standard Microsoft version *
  8. * or the IBM version of the operating system *
  9. * *
  10. * *
  11. * Use the switches below to produce the standard Microsoft version *
  12. * or the IBMversion of the operating system *
  13. * *
  14. * The below chart will indicate how to set the switches to build *
  15. * the various versions *
  16. * *
  17. * IBMVER IBMCOPYRIGHT *
  18. * -------------------------------------------------------- *
  19. * IBM Version | TRUE TRUE *
  20. * -------------------------------------------------------- *
  21. * MS Version | FALSE FALSE *
  22. * -------------------------------------------------------- *
  23. * Clone Version | TRUE FALSE *
  24. -------------------------------------------------------------------------- */
  25. #define IBMVER 1
  26. #define IBMCOPYRIGHT 0
  27. #ifndef MSVER
  28. #define MSVER 1-IBMVER /* MSVER = NOT IBMVER */
  29. #endif
  30. #define IBM IBMVER
  31. /*
  32. *****************************************************************************
  33. <<< Followings are the DBCS relating Definition >>>
  34. To build DBCS version, Define DBCS by using CL option via
  35. Dos environment.
  36. ex. set CL=-DDBCS
  37. To build Country/Region depend version, Define JAPAN, KOREA or TAIWAN
  38. by using CL option via Dos environment.
  39. ex. set CL=-DJAPAN
  40. set CL=-DKOREA
  41. set CL=-DTAIWAN
  42. *****************************************************************************
  43. */
  44. #define BUGFIX 1
  45. /* #define IBMJAPVER 0 */ /* If TRUE define DBCS also */
  46. #define IBMJAPAN 0
  47. /* -------------------- Set DBCS Blank constant ------------------- */
  48. #ifndef DBCS
  49. #define DB_SPACE 0x2020
  50. #define DB_SP_HI 0x20
  51. #define DB_SP_LO 0x20
  52. #else
  53. #ifdef JAPAN
  54. #define DB_SPACE 0x8140
  55. #define DB_SP_HI 0x81
  56. #define DB_SP_LO 0x40
  57. #endif
  58. #ifdef TAIWAN
  59. #define DB_SPACE 0x8130
  60. #define DB_SP_HI 0x81
  61. #define DB_SP_LO 0x30
  62. #endif
  63. #ifdef KOREA
  64. #define DB_SPACE 0xA1A1
  65. #define DB_SP_HI 0xA1
  66. #define DB_SP_LO 0xA1
  67. #endif
  68. #endif
  69. #ifndef altvect /* avoid jerking off vector.inc */
  70. #define ALTVECT 0 /* Switch to build ALTVECT version */
  71. #endif
  72. #if BUGFIX
  73. #pragma message( "BUGFIX switch ON" )
  74. #endif
  75. #ifdef DBCS
  76. #pragma message( "DBCS version build switch ON" )
  77. #ifdef JAPAN
  78. #pragma message( "JAPAN version build switch ON" )
  79. #endif
  80. #ifdef TAIWAN
  81. #pragma message( "TAIWAN version build switch ON" )
  82. #endif
  83. #ifdef KOREA
  84. #pragma message( "KOREA version build switch ON" )
  85. #endif
  86. #endif
  87.