Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / npapi / npspy / extern / nspr / md / prosdep.h
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* 
3  * The contents of this file are subject to the Mozilla Public
4  * License Version 1.1 (the "License"); you may not use this file
5  * except in compliance with the License. You may obtain a copy of
6  * the License at http://www.mozilla.org/MPL/
7  * 
8  * Software distributed under the License is distributed on an "AS
9  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
10  * implied. See the License for the specific language governing
11  * rights and limitations under the License.
12  * 
13  * The Original Code is the Netscape Portable Runtime (NSPR).
14  * 
15  * The Initial Developer of the Original Code is Netscape
16  * Communications Corporation.  Portions created by Netscape are 
17  * Copyright (C) 1998-2000 Netscape Communications Corporation.  All
18  * Rights Reserved.
19  * 
20  * Contributor(s):
21  * 
22  * Alternatively, the contents of this file may be used under the
23  * terms of the GNU General Public License Version 2 or later (the
24  * "GPL"), in which case the provisions of the GPL are applicable 
25  * instead of those above.  If you wish to allow use of your 
26  * version of this file only under the terms of the GPL and not to
27  * allow others to use your version of this file under the MPL,
28  * indicate your decision by deleting the provisions above and
29  * replace them with the notice and other provisions requiored by
30  * the GPL.  If you do not delete the provisions above, a recipient
31  * may use your version of this file under either the MPL or the
32  * GPL.
33  */
34
35 #ifndef prosdep_h___
36 #define prosdep_h___
37
38 /*
39 ** Get OS specific header information
40 */
41 #include "prtypes.h"
42
43 PR_BEGIN_EXTERN_C
44
45 #ifdef XP_PC
46
47 #include "md/_pcos.h"
48 #ifdef WINNT
49 #include "md/_winnt.h"
50 #include "md/_win32_errors.h"
51 #elif defined(WIN95)
52 #include "md/_win95.h"
53 #include "md/_win32_errors.h"
54 #elif defined(WIN16)
55 #include "md/_win16.h"
56 #elif defined(OS2)
57 #include "md/_os2.h"
58 #include "md/_os2_errors.h"
59 #else
60 #error unknown Windows platform
61 #endif
62
63 #elif defined XP_MAC
64
65 #include "_macos.h"
66
67 #elif defined(XP_UNIX)
68
69 #if defined(AIX)
70 #include "md/_aix.h"
71
72 #elif defined(FREEBSD)
73 #include "md/_freebsd.h"
74
75 #elif defined(NETBSD)
76 #include "md/_netbsd.h"
77
78 #elif defined(OPENBSD)
79 #include "md/_openbsd.h"
80
81 #elif defined(BSDI)
82 #include "md/_bsdi.h"
83
84 #elif defined(HPUX)
85 #include "md/_hpux.h"
86
87 #elif defined(IRIX)
88 #include "md/_irix.h"
89
90 #elif defined(LINUX)
91 #include "md/_linux.h"
92
93 #elif defined(OSF1)
94 #include "md/_osf1.h"
95
96 #elif defined(DARWIN)
97 #include "md/_darwin.h"
98
99 #elif defined(NEXTSTEP)
100 #include "md/_nextstep.h"
101
102 #elif defined(SOLARIS)
103 #include "md/_solaris.h"
104
105 #elif defined(SUNOS4)
106 #include "md/_sunos4.h"
107
108 #elif defined(SNI)
109 #include "md/_reliantunix.h"
110
111 #elif defined(SONY)
112 #include "md/_sony.h"
113
114 #elif defined(NEC)
115 #include "md/_nec.h"
116
117 #elif defined(SCO)
118 #include "md/_scoos.h"
119
120 #elif defined(UNIXWARE)
121 #include "md/_unixware.h"
122
123 #elif defined(NCR)
124 #include "md/_ncr.h"
125
126 #elif defined(DGUX)
127 #include "md/_dgux.h"
128
129 #elif defined(QNX)
130 #include "md/_qnx.h"
131
132 #elif defined(VMS)
133 #include "md/_openvms.h"
134
135 #elif defined(NTO)
136 #include "md/_nto.h"
137
138 #else
139 #error unknown Unix flavor
140
141 #endif
142
143 #include "md/_unixos.h"
144 #include "md/_unix_errors.h"
145
146 #elif defined(XP_BEOS)
147
148 #include "md/_beos.h"
149 #include "md/_unix_errors.h"
150
151 #else
152
153 #error "The platform is not BeOS, Unix, Windows, or Mac"
154
155 #endif
156
157 #ifdef _PR_PTHREADS
158 #include "md/_pth.h"
159 #endif
160
161 PR_END_EXTERN_C
162
163 #endif /* prosdep_h___ */