prcpucfg.h 890 B

1234567891011121314151617181920212223242526272829
  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. #ifndef NSPR_PRCPUCFG_H_
  6. #define NSPR_PRCPUCFG_H_
  7. /*
  8. * Need to support conditionals that are defined in both the top-level build
  9. * system as well as NSS' build system for now.
  10. */
  11. #if defined(XP_DARWIN) || defined(DARWIN)
  12. #include "md/_darwin.cfg"
  13. #elif defined(XP_WIN) || defined(_WINDOWS)
  14. #include "md/_win95.cfg"
  15. #elif defined(__FreeBSD__)
  16. #include "md/_freebsd.cfg"
  17. #elif defined(__NetBSD__)
  18. #include "md/_netbsd.cfg"
  19. #elif defined(__OpenBSD__)
  20. #include "md/_openbsd.cfg"
  21. #elif defined(__linux__)
  22. #include "md/_linux.cfg"
  23. #else
  24. #error "Unsupported platform!"
  25. #endif
  26. #endif /* NSPR_PRCPUCFG_H_ */