summaryrefslogtreecommitdiffstats
path: root/config/external/nspr/prcpucfg.h
blob: e5c5aeead93d1d396df7bc5250fa23bccf9d4048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef NSPR_PRCPUCFG_H_
#define NSPR_PRCPUCFG_H_

/*
 * Need to support conditionals that are defined in both the top-level build
 * system as well as NSS' build system for now.
 */
#if defined(XP_DARWIN) || defined(DARWIN)
#  include "md/_darwin.cfg"
#elif defined(XP_WIN) || defined(_WINDOWS)
#  include "md/_win95.cfg"
#elif defined(__FreeBSD__)
#  include "md/_freebsd.cfg"
#elif defined(__NetBSD__)
#  include "md/_netbsd.cfg"
#elif defined(__OpenBSD__)
#  include "md/_openbsd.cfg"
#elif defined(__linux__)
#  include "md/_linux.cfg"
#elif defined(__sun__)
#  include "md/_solaris.cfg"
#else
#  error "Unsupported platform!"
#endif

#endif /* NSPR_PRCPUCFG_H_ */