Refactor a SocketStream unittest.
[chromium-blink-merge.git] / third_party / npapi / npspy / extern / nspr / md / prosdep.h
blob7016cbb7456d5f2454251a56403f024ed3bb09ce
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.
13 * The Original Code is the Netscape Portable Runtime (NSPR).
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.
20 * Contributor(s):
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.
35 #ifndef prosdep_h___
36 #define prosdep_h___
39 ** Get OS specific header information
41 #include "prtypes.h"
43 PR_BEGIN_EXTERN_C
45 #ifdef XP_PC
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
63 #elif defined XP_MAC
65 #include "_macos.h"
67 #elif defined(XP_UNIX)
69 #if defined(AIX)
70 #include "md/_aix.h"
72 #elif defined(FREEBSD)
73 #include "md/_freebsd.h"
75 #elif defined(NETBSD)
76 #include "md/_netbsd.h"
78 #elif defined(OPENBSD)
79 #include "md/_openbsd.h"
81 #elif defined(BSDI)
82 #include "md/_bsdi.h"
84 #elif defined(HPUX)
85 #include "md/_hpux.h"
87 #elif defined(IRIX)
88 #include "md/_irix.h"
90 #elif defined(LINUX)
91 #include "md/_linux.h"
93 #elif defined(OSF1)
94 #include "md/_osf1.h"
96 #elif defined(DARWIN)
97 #include "md/_darwin.h"
99 #elif defined(NEXTSTEP)
100 #include "md/_nextstep.h"
102 #elif defined(SOLARIS)
103 #include "md/_solaris.h"
105 #elif defined(SUNOS4)
106 #include "md/_sunos4.h"
108 #elif defined(SNI)
109 #include "md/_reliantunix.h"
111 #elif defined(SONY)
112 #include "md/_sony.h"
114 #elif defined(NEC)
115 #include "md/_nec.h"
117 #elif defined(SCO)
118 #include "md/_scoos.h"
120 #elif defined(UNIXWARE)
121 #include "md/_unixware.h"
123 #elif defined(NCR)
124 #include "md/_ncr.h"
126 #elif defined(DGUX)
127 #include "md/_dgux.h"
129 #elif defined(QNX)
130 #include "md/_qnx.h"
132 #elif defined(VMS)
133 #include "md/_openvms.h"
135 #elif defined(NTO)
136 #include "md/_nto.h"
138 #else
139 #error unknown Unix flavor
141 #endif
143 #include "md/_unixos.h"
144 #include "md/_unix_errors.h"
146 #elif defined(XP_BEOS)
148 #include "md/_beos.h"
149 #include "md/_unix_errors.h"
151 #else
153 #error "The platform is not BeOS, Unix, Windows, or Mac"
155 #endif
157 #ifdef _PR_PTHREADS
158 #include "md/_pth.h"
159 #endif
161 PR_END_EXTERN_C
163 #endif /* prosdep_h___ */