home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / nsprpub / pr / include / md / prosdep.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.3 KB  |  119 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. #include "md/_unixos.h"
  54. #include "md/_unix_errors.h"
  55.  
  56. #if defined(AIX)
  57. #include "md/_aix.h"
  58.  
  59. #elif defined(FREEBSD)
  60. #include "md/_freebsd.h"
  61.  
  62. #elif defined(BSDI)
  63. #include "md/_bsdi.h"
  64.  
  65. #elif defined(HPUX)
  66. #include "md/_hpux.h"
  67.  
  68. #elif defined(IRIX)
  69. #include "md/_irix.h"
  70.  
  71. #elif defined(LINUX)
  72. #include "md/_linux.h"
  73.  
  74. #elif defined(OSF1)
  75. #include "md/_osf1.h"
  76.  
  77. #elif defined(SOLARIS)
  78. #include "md/_solaris.h"
  79.  
  80. #elif defined(SUNOS4)
  81. #include "md/_sunos4.h"
  82.  
  83. #elif defined(SNI)
  84. #include "md/_reliantunix.h"
  85.  
  86. #elif defined(SONY)
  87. #include "md/_sony.h"
  88.  
  89. #elif defined(NEC)
  90. #include "md/_nec.h"
  91.  
  92. #elif defined(SCO)
  93. #include "md/_scoos.h"
  94.  
  95. #elif defined(UNIXWARE)
  96. #include "md/_unixware.h"
  97.  
  98. #elif defined(NCR)
  99. #include "md/_ncr.h"
  100.  
  101. #else
  102. #error unknown Unix flavor
  103.  
  104. #endif
  105.  
  106. #else
  107.  
  108. #error "The platform is not Unix, Windows, or Mac"
  109.  
  110. #endif
  111.  
  112. #ifdef _PR_PTHREADS
  113. #include "md/_pth.h"
  114. #endif
  115.  
  116. PR_END_EXTERN_C
  117.  
  118. #endif /* prosdep_h___ */
  119.