Debian Codegraph @

nsprpub/pr/include/md/prosdep.h

raw
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 #ifndef prosdep_h___
7 #define prosdep_h___
8
9 /*
10 ** Get OS specific header information
11 */
12 #include "prtypes.h"
13
14 PR_BEGIN_EXTERN_C
15
16 #ifdef XP_PC
17
18 #include "md/_pcos.h"
19 #ifdef WINNT
20 #include "md/_winnt.h"
21 #include "md/_win32_errors.h"
22 #elif defined(WIN95) || defined(WINCE)
23 #include "md/_win95.h"
24 #include "md/_win32_errors.h"
25 #else
26 #error unknown Windows platform
27 #endif
28
29 #elif defined(XP_UNIX)
30
31 #if defined(AIX)
32 #include "md/_aix.h"
33
34 #elif defined(FREEBSD)
35 #include "md/_freebsd.h"
36
37 #elif defined(NETBSD)
38 #include "md/_netbsd.h"
39
40 #elif defined(OPENBSD)
41 #include "md/_openbsd.h"
42
43 #elif defined(HPUX)
44 #include "md/_hpux.h"
45
46 #elif defined(LINUX) || defined(__GNU__) || defined(__GLIBC__)
47 #include "md/_linux.h"
48
49 #elif defined(DARWIN)
50 #include "md/_darwin.h"
51
52 #elif defined(SOLARIS)
53 #include "md/_solaris.h"
54
55 #elif defined(QNX)
56 #include "md/_qnx.h"
57
58 #elif defined(NTO)
59 #include "md/_nto.h"
60
61 #elif defined(RISCOS)
62 #include "md/_riscos.h"
63
64 #else
65 #error unknown Unix flavor
66
67 #endif
68
69 #include "md/_unixos.h"
70 #include "md/_unix_errors.h"
71
72 #else
73
74 #error "The platform is not Unix, Windows, or Mac"
75
76 #endif
77
78 #ifdef _PR_PTHREADS
79 #include "md/_pth.h"
80 #endif
81
82 PR_END_EXTERN_C
83
84 #endif /* prosdep_h___ */