VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/prosdep.h@ 5300

Last change on this file since 5300 was 1, checked in by vboxsync, 55 years ago

import

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette