clibs
Tiny but handy utility libraries for C
Main Page
Related Pages
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
i
m
n
p
r
s
t
u
Functions
Typedefs
+
Macros
a
c
d
e
f
i
m
n
p
r
s
t
u
•
All
Files
Functions
Typedefs
Macros
Pages
platform.h
Go to the documentation of this file.
1
8
#ifndef CLIBS_PLATFORM_H
9
#define CLIBS_PLATFORM_H
10
17
#ifndef END_OF_LINE
18
#define END_OF_LINE "\n"
19
#endif
/* END_OF_LINE */
20
26
#ifndef DIRECTORY_SEPARATOR
27
#ifdef _WIN32
28
#define DIRECTORY_SEPARATOR "\\"
29
#elif __unix__ || __unix || unix || __APPLE__
30
#define DIRECTORY_SEPARATOR "/"
31
#else
32
#error "Unsupported platform"
33
#endif
34
#endif
/* DIRECTORY_SEPARATOR */
35
41
#ifndef SEARCH_PATH_SEPARATOR
42
#ifdef _WIN32
43
#define SEARCH_PATH_SEPARATOR ";"
44
#elif __unix__ || __unix || unix || __APPLE__
45
#define SEARCH_PATH_SEPARATOR ":"
46
#else
47
#error "Unsupported platform"
48
#endif
49
#endif
50
51
#endif
/* CLIBS_PLATFORM_H */
Generated by
1.8.13