home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / tex / texsrc1 / Src / lib / h / c-pathch < prev    next >
Encoding:
Text File  |  1993-04-29  |  1.9 KB  |  76 lines

  1. /* c-pathch.h: define the characters which separate components of
  2.    pathnames and environment variable paths.
  3.  
  4. Copyright (C) 1992 Free Software Foundation, Inc.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef C_PATHCH_H
  21. #define C_PATHCH_H
  22.  
  23. /* What separates pathname components?  */
  24. #ifndef PATH_SEP
  25. #ifdef VMS
  26. #define PATH_SEP ':'
  27. #define PATH_SEP_STRING ":"
  28. #else
  29. #ifdef DOS
  30. #define PATH_SEP '\\'
  31. #define PATH_SEP_STRING "\\"
  32. #else
  33. #ifdef VMCMS
  34. #define PATH_SEP ' '
  35. #define PATH_SEP_STRING " "
  36. #else
  37. #ifdef RISCOS
  38. #define PATH_SEP '.'
  39. #define PATH_SEP_STRING "."
  40. #else
  41. #define PATH_SEP '/'
  42. #define PATH_SEP_STRING "/"
  43. #endif /* not RISC OS */
  44. #endif /* not VM/CMS */
  45. #endif /* not DOS */
  46. #endif /* not VMS */
  47. #endif /* not PATH_SEP */
  48.  
  49. /* What separates elements in environment variable path lists?  */
  50. #ifndef PATH_DELIMITER
  51. #ifdef VMS
  52. #define PATH_DELIMITER ','
  53. #define PATH_DELIMITER_STRING ","
  54. #else
  55. #ifdef DOS
  56. #define PATH_DELIMITER ';'
  57. #define PATH_DELIMITER_STRING ";"
  58. #else
  59. #ifdef VMCMS
  60. #define PATH_DELIMITER ' '
  61. #define PATH_DELIMITER_STRING " "
  62. #else
  63. #ifdef RISCOS
  64. #define PATH_DELIMITER ','
  65. #define PATH_DELIMITER_STRING ","
  66. #else
  67. #define PATH_DELIMITER ':'
  68. #define PATH_DELIMITER_STRING ":"
  69. #endif /* not RISC OS */
  70. #endif /* not VM/CMS */
  71. #endif /* not DOS */
  72. #endif /* not VMS */
  73. #endif /* not PATH_DELIMITER */
  74.  
  75. #endif /* not C_PATHCH_H */
  76.