OSDN Git Service

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