andre@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ andre@0: /* This Source Code Form is subject to the terms of the Mozilla Public andre@0: * License, v. 2.0. If a copy of the MPL was not distributed with this andre@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ andre@0: andre@0: #ifndef prosdep_h___ andre@0: #define prosdep_h___ andre@0: andre@0: /* andre@0: ** Get OS specific header information andre@0: */ andre@0: #include "prtypes.h" andre@0: andre@0: PR_BEGIN_EXTERN_C andre@0: andre@0: #ifdef XP_PC andre@0: andre@0: #include "md/_pcos.h" andre@0: #ifdef WINNT andre@0: #include "md/_winnt.h" andre@0: #include "md/_win32_errors.h" andre@0: #elif defined(WIN95) || defined(WINCE) andre@0: #include "md/_win95.h" andre@0: #include "md/_win32_errors.h" andre@0: #elif defined(OS2) andre@0: #include "md/_os2.h" andre@0: #include "md/_os2_errors.h" andre@0: #else andre@0: #error unknown Windows platform andre@0: #endif andre@0: andre@0: #elif defined(XP_UNIX) andre@0: andre@0: #if defined(AIX) andre@0: #include "md/_aix.h" andre@0: andre@0: #elif defined(FREEBSD) andre@0: #include "md/_freebsd.h" andre@0: andre@0: #elif defined(NETBSD) andre@0: #include "md/_netbsd.h" andre@0: andre@0: #elif defined(OPENBSD) andre@0: #include "md/_openbsd.h" andre@0: andre@0: #elif defined(BSDI) andre@0: #include "md/_bsdi.h" andre@0: andre@0: #elif defined(HPUX) andre@0: #include "md/_hpux.h" andre@0: andre@0: #elif defined(IRIX) andre@0: #include "md/_irix.h" andre@0: andre@0: #elif defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) andre@0: #include "md/_linux.h" andre@0: andre@0: #elif defined(OSF1) andre@0: #include "md/_osf1.h" andre@0: andre@0: #elif defined(DARWIN) andre@0: #include "md/_darwin.h" andre@0: andre@0: #elif defined(SOLARIS) andre@0: #include "md/_solaris.h" andre@0: andre@0: #elif defined(SCO) andre@0: #include "md/_scoos.h" andre@0: andre@0: #elif defined(UNIXWARE) andre@0: #include "md/_unixware.h" andre@0: andre@0: #elif defined(DGUX) andre@0: #include "md/_dgux.h" andre@0: andre@0: #elif defined(QNX) andre@0: #include "md/_qnx.h" andre@0: andre@0: #elif defined(NTO) andre@0: #include "md/_nto.h" andre@0: andre@0: #elif defined(RISCOS) andre@0: #include "md/_riscos.h" andre@0: andre@0: #elif defined(SYMBIAN) andre@0: #include "md/_symbian.h" andre@0: andre@0: #else andre@0: #error unknown Unix flavor andre@0: andre@0: #endif andre@0: andre@0: #include "md/_unixos.h" andre@0: #include "md/_unix_errors.h" andre@0: andre@0: #elif defined(XP_BEOS) andre@0: andre@0: #include "md/_beos.h" andre@0: #include "md/_unix_errors.h" andre@0: andre@0: #else andre@0: andre@0: #error "The platform is not BeOS, Unix, Windows, or Mac" andre@0: andre@0: #endif andre@0: andre@0: #ifdef _PR_PTHREADS andre@0: #include "md/_pth.h" andre@0: #endif andre@0: andre@0: PR_END_EXTERN_C andre@0: andre@0: #endif /* prosdep_h___ */