home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dokpr1.zip / base.h < prev    next >
C/C++ Source or Header  |  1995-09-22  |  2KB  |  88 lines

  1. /**************************************************************************
  2.  *                                                                        *
  3.  *                                                                        *
  4.  *          This code is copyright (c) 1994                               *
  5.  *                     Athena Design, Inc.                                *
  6.  *                     and David Pollak                                   *
  7.  *                                                                        *
  8.  *                ALL RIGHTS RESERVED                                     *
  9.  *                                                                        *
  10.  *                                                                        *
  11.  *                                                                        *
  12.  *                                                                        *
  13.  *                                                                        *
  14.  **************************************************************************/
  15.  
  16. /*
  17.     this module is the base header file for the Mesa project.
  18.  
  19.     It contains a series of assumptions about the project.
  20.  
  21.     1-24-94 dpp
  22.  
  23.     items that vary:
  24.  
  25.     endianness
  26.         M2BIGENDIAN        -    for 68K, HA-PA, SPARC
  27.         M2LITTLEENDIAN    -    for Intel, PowerPC
  28.  
  29.     Unicode support
  30.         M2UNICODE    -    if UNICODE is supported by the underlying OS
  31.         M2ASCII        -    if ASCII only is supported
  32.  
  33.     About the filesystem
  34.         M2FSSENSITIVE     -    if the file system is case sensitive - UNIX
  35.         M2FSINSENSITIVE    -    if the file system is case insensitive - OS/2, WP/OS
  36.  
  37.     Text that is hard coded is IFDEF'd with M2HARDTEXT
  38.  
  39.  
  40. */
  41.  
  42. #ifndef _MH_base
  43.  
  44. #define _MH_base
  45.  
  46. #if defined(M2Z) || defined(M2NT)
  47.  
  48. #define M2LITTLEENDIAN
  49. #define M2ASCII
  50. #define M2FSINSENSITIVE
  51. // #define M2HARDTEXT
  52.  
  53. // what is the longest path name?
  54. #define PATHLEN 2048
  55.  
  56. // what is the path separator char
  57. #define PATHSEP '\\'
  58. #define MAXTITLELEN 58
  59.  
  60. /*
  61. #define IN_DLL
  62. #define NOT_IN_DLL
  63.  
  64. #ifndef IN_DLL
  65. #define NOT_IN_DLL
  66. #endif
  67. */
  68.  
  69. #elif defined(M2MAC)
  70.  
  71. #define M2BIGENDIAN
  72. #define M2ASCII
  73. #define M2FSINSENSITIVE
  74. // #define M2HARDTEXT
  75.  
  76. // what is the longest path name?
  77. #define PATHLEN 2048
  78.  
  79. // what is the path separator char
  80. #define PATHSEP ':'
  81.  
  82. #else
  83. this is an error, no target OS defined
  84. #endif
  85.  
  86. #endif
  87.  
  88.