home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / nspr30-v.zip / nspr30-v / include / md / prosdep.h < prev    next >
C/C++ Source or Header  |  1998-11-21  |  3KB  |  134 lines

  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 Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  * 
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  * 
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. #ifndef prosdep_h___
  20. #define prosdep_h___
  21.  
  22. /*
  23. ** Get OS specific header information
  24. */
  25. #include "prtypes.h"
  26.  
  27. PR_BEGIN_EXTERN_C
  28.  
  29. #ifdef XP_PC
  30.  
  31. #include "md/_pcos.h"
  32. #ifdef WINNT
  33. #include "md/_winnt.h"
  34. #include "md/_win32_errors.h"
  35. #elif defined(WIN95)
  36. #include "md/_win95.h"
  37. #include "md/_win32_errors.h"
  38. #elif defined(WIN16)
  39. #include "md/_win16.h"
  40. #elif defined(OS2)
  41. #include "md/_os2.h"
  42. #include "md/_os2_errors.h"
  43. #else
  44. #error unknown Windows platform
  45. #endif
  46.  
  47. #elif defined XP_MAC
  48.  
  49. #include "_macos.h"
  50.  
  51. #elif defined(XP_UNIX)
  52.  
  53. #if defined(AIX)
  54. #include "md/_aix.h"
  55.  
  56. #elif defined(FREEBSD)
  57. #include "md/_freebsd.h"
  58.  
  59. #elif defined(NETBSD)
  60. #include "md/_netbsd.h"
  61.  
  62. #elif defined(OPENBSD)
  63. #include "md/_openbsd.h"
  64.  
  65. #elif defined(BSDI)
  66. #include "md/_bsdi.h"
  67.  
  68. #elif defined(HPUX)
  69. #include "md/_hpux.h"
  70.  
  71. #elif defined(IRIX)
  72. #include "md/_irix.h"
  73.  
  74. #elif defined(LINUX)
  75. #include "md/_linux.h"
  76.  
  77. #elif defined(OSF1)
  78. #include "md/_osf1.h"
  79.  
  80. #elif defined(RHAPSODY)
  81. #include "md/_rhapsody.h"
  82.  
  83. #elif defined(NEXTSTEP)
  84. #include "md/_nextstep.h"
  85.  
  86. #elif defined(SOLARIS)
  87. #include "md/_solaris.h"
  88.  
  89. #elif defined(SUNOS4)
  90. #include "md/_sunos4.h"
  91.  
  92. #elif defined(SNI)
  93. #include "md/_reliantunix.h"
  94.  
  95. #elif defined(SONY)
  96. #include "md/_sony.h"
  97.  
  98. #elif defined(NEC)
  99. #include "md/_nec.h"
  100.  
  101. #elif defined(SCO)
  102. #include "md/_scoos.h"
  103.  
  104. #elif defined(UNIXWARE)
  105. #include "md/_unixware.h"
  106.  
  107. #elif defined(NCR)
  108. #include "md/_ncr.h"
  109.  
  110. #elif defined(DGUX)
  111. #include "md/_dgux.h"
  112.  
  113. #else
  114. #error unknown Unix flavor
  115.  
  116. #endif
  117.  
  118. #include "md/_unixos.h"
  119. #include "md/_unix_errors.h"
  120.  
  121. #else
  122.  
  123. #error "The platform is not Unix, Windows, or Mac"
  124.  
  125. #endif
  126.  
  127. #ifdef _PR_PTHREADS
  128. #include "md/_pth.h"
  129. #endif
  130.  
  131. PR_END_EXTERN_C
  132.  
  133. #endif /* prosdep_h___ */
  134.