home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / sgml / msdos / sgml07 / dos.cfg < prev    next >
Encoding:
Text File  |  1992-03-27  |  2.4 KB  |  79 lines

  1. /* dos.cfg: Configuration file for sgmls on MS-DOS. */
  2.  
  3. /* Define this if your compiler supports prototypes. */
  4. #define USE_PROTOTYPES 1
  5.  
  6. /* Define this if you do not have strerror(). */
  7. /* Borland C++ has strerror(), but it adds a newline to the end of the
  8. message, so don't use it. */
  9. #define STRERROR_MISSING 1
  10.  
  11. /* Define this if you have getopt(). */
  12. /* #define HAVE_GETOPT 1 */
  13.  
  14. #ifndef HAVE_GETOPT
  15. /* #define OPTION_CHAR '/' */
  16. /* Use MS-DOS (undocumented) system call to get switch character. */
  17. #define SWITCHAR 1
  18. #define REORDER_ARGS 1
  19. /* #define CASE_INSENSITIVE_OPTIONS 1 */
  20. #endif
  21.  
  22. #define PATH_FILE_SEP ';'
  23. #define DEFAULT_PATH "C:\\SGML\\%N.%X;%N.%X;%N.%D"
  24. #define SYSID_FILE_SEP ';'
  25. #define PATH_ENV_VAR "SGML_PATH"
  26.  
  27. /* Define this if open() understands the O_NOINHERIT flag.  This tells
  28. DOS that subprocesses should not inherit the file descriptor. */
  29. #define HAVE_O_NOINHERIT 1
  30.  
  31. /* When turning a minimum literal into a filename, each character in
  32. MIN_DAT_SUBS_FROM will be replaced by the character at the
  33. corresponding position in MIN_DATA_SUBS_TO.  If there is no such
  34. character, then the character will be stripped. */
  35.  
  36. #define MIN_DAT_SUBS_FROM " +,./:=?"
  37. #define MIN_DAT_SUBS_TO   ""
  38.  
  39. /* Define this if you have access(). */
  40. #define HAVE_ACCESS 1
  41.  
  42. /* Define this if you have <unistd.h>. */
  43. /* #define HAVE_UNISTD_H 1 */
  44.  
  45. /* Define this to strip an extension off the program name in argv[0],
  46.    before using it in error messsages. */
  47. #define PROG_STRIP_EXTENSION 1
  48.  
  49. /* Define this to fold the program name in argv[0] to lower case,
  50.    before using it in error messsages. */
  51. #define PROG_FOLD 1
  52.  
  53. /* Before using argv[0] in error messages, strip off everything up to and
  54. including the last character in prog that occurs in PROG_PREFIX. */
  55. #define PROG_PREFIX "\\/:"
  56.  
  57. /* Define this to omit tracing functions */
  58. #define FINAL 1
  59.  
  60. /* Define this you want support for subdocuments.  This is implemented
  61. using features that are not part of Standard C. */
  62. #define SUPPORT_SUBDOC 1
  63.  
  64. typedef void *UNIV;           /* Universal (i.e., undefined) pointer type. */
  65. typedef void VOID;            /* void as a function return type */
  66.  
  67. /* If you don't have <limits.h>, define CHAR_SIGNED as 1 or 0
  68. according to whether the `char' type is signed. */
  69. /* #define CHAR_SIGNED 1 */
  70. /* #define CHAR_SIGNED 0 */
  71. #ifndef CHAR_SIGNED
  72. #include <limits.h>
  73. #if CHAR_MIN < 0
  74. #define CHAR_SIGNED 1
  75. #else
  76. #define CHAR_SIGNED 0
  77. #endif
  78. #endif /* not CHAR_SIGNED */
  79.