comparison nspr/pr/include/md/prosdep.h @ 0:1e5118fa0cb1

This is NSS with a Cmake Buildsyste To compile a static NSS library for Windows we've used the Chromium-NSS fork and added a Cmake buildsystem to compile it statically for Windows. See README.chromium for chromium changes and README.trustbridge for our modifications.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 28 Jul 2014 10:47:06 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1e5118fa0cb1
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 #elif defined(OS2)
26 #include "md/_os2.h"
27 #include "md/_os2_errors.h"
28 #else
29 #error unknown Windows platform
30 #endif
31
32 #elif defined(XP_UNIX)
33
34 #if defined(AIX)
35 #include "md/_aix.h"
36
37 #elif defined(FREEBSD)
38 #include "md/_freebsd.h"
39
40 #elif defined(NETBSD)
41 #include "md/_netbsd.h"
42
43 #elif defined(OPENBSD)
44 #include "md/_openbsd.h"
45
46 #elif defined(BSDI)
47 #include "md/_bsdi.h"
48
49 #elif defined(HPUX)
50 #include "md/_hpux.h"
51
52 #elif defined(IRIX)
53 #include "md/_irix.h"
54
55 #elif defined(LINUX) || defined(__GNU__) || defined(__GLIBC__)
56 #include "md/_linux.h"
57
58 #elif defined(OSF1)
59 #include "md/_osf1.h"
60
61 #elif defined(DARWIN)
62 #include "md/_darwin.h"
63
64 #elif defined(SOLARIS)
65 #include "md/_solaris.h"
66
67 #elif defined(SCO)
68 #include "md/_scoos.h"
69
70 #elif defined(UNIXWARE)
71 #include "md/_unixware.h"
72
73 #elif defined(DGUX)
74 #include "md/_dgux.h"
75
76 #elif defined(QNX)
77 #include "md/_qnx.h"
78
79 #elif defined(NTO)
80 #include "md/_nto.h"
81
82 #elif defined(RISCOS)
83 #include "md/_riscos.h"
84
85 #elif defined(SYMBIAN)
86 #include "md/_symbian.h"
87
88 #else
89 #error unknown Unix flavor
90
91 #endif
92
93 #include "md/_unixos.h"
94 #include "md/_unix_errors.h"
95
96 #elif defined(XP_BEOS)
97
98 #include "md/_beos.h"
99 #include "md/_unix_errors.h"
100
101 #else
102
103 #error "The platform is not BeOS, Unix, Windows, or Mac"
104
105 #endif
106
107 #ifdef _PR_PTHREADS
108 #include "md/_pth.h"
109 #endif
110
111 PR_END_EXTERN_C
112
113 #endif /* prosdep_h___ */
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)