home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / ISP / bind.4.8.3.lzh / BIND483 / RES / ansi_compat.h next >
Text File  |  1994-02-01  |  3KB  |  117 lines

  1. /*
  2.  *     @(#)ansi_compat.h    6.1    (ULTRIX)    11/19/91
  3.  */
  4.  
  5. /************************************************************************
  6.  *                                    *
  7.  *            Copyright (c) 1990 by                    *
  8.  *        Digital Equipment Corporation, Maynard, MA        *
  9.  *            All rights reserved.                *
  10.  *                                    *
  11.  *   This software is furnished under a license and may be used and    *
  12.  *   copied  only  in accordance with the terms of such license and    *
  13.  *   with the  inclusion  of  the  above  copyright  notice.   This    *
  14.  *   software  or  any  other copies thereof may not be provided or    *
  15.  *   otherwise made available to any other person.  No title to and    *
  16.  *   ownership of the software is hereby transferred.            *
  17.  *                                    *
  18.  *   The information in this software is subject to change  without    *
  19.  *   notice  and should not be construed as a commitment by Digital    *
  20.  *   Equipment Corporation.                        *
  21.  *                                    *
  22.  *   Digital assumes no responsibility for the use  or  reliability    *
  23.  *   of its software on equipment which is not supplied by Digital.    *
  24.  *                                    *
  25.  ************************************************************************/
  26.  
  27. /*
  28.  *   To avoid namespace pollution when using the ULTRIX header files under the
  29.  * DEC ANSI compiler, all user-visible header files were modifed to reference
  30.  * ANSI-style predefined macro name rather than their traditional names
  31.  * (__ultrix vice ultrix).  Every file which accesses a predefined macro name
  32.  * must include this file before any other files are included or the macros
  33.  * are tested.
  34.  *
  35.  *   In strict ANSI mode, the appropriate ANSI-style macros are already
  36.  * defined and the redefinitions in this file will not be seen.  When using
  37.  * pcc, the traditional macro names are defined and this file will define
  38.  * ANSI-style equivalents of the traditional names.  When using the DEC C
  39.  * compiler, both the traditional and ANSI predefined macro names are
  40.  * available so the definitions in this file are not made visible.
  41.  *
  42.  */
  43.  
  44.  
  45. #if !defined(__STDC__) && !defined(__DECC) && !defined(__ANSI_COMPAT)
  46.  
  47. #define __ANSI_COMPAT
  48.  
  49. #ifdef ultrix
  50. #define    __ultrix      ultrix
  51. #endif
  52.  
  53. #ifdef unix
  54. #define    __unix        unix
  55. #endif
  56.  
  57. #ifdef bsd4_2
  58. #define    __bsd4_2      bsd4_2
  59. #endif
  60.  
  61. #ifdef vax
  62. #define __vax           vax
  63. #endif
  64.  
  65. #ifdef VAX
  66. #define __VAX           VAX
  67. #endif
  68.  
  69. #ifdef mips
  70. #define    __mips        mips
  71. #endif
  72.  
  73. #ifdef host_mips
  74. #define    __host_mips   host_mips
  75. #endif
  76.  
  77. #ifdef MIPSEL
  78. #define    __MIPSEL      MIPSEL
  79. #endif
  80.  
  81. #ifdef MIPSEB
  82. #define    __MIPSEB      MIPSEB
  83. #endif
  84.  
  85. #ifdef SYSTEM_FIVE
  86. #define    __SYSTEM_FIVE SYSTEM_FIVE
  87. #endif
  88.  
  89. #ifdef POSIX
  90. #define    __POSIX       POSIX
  91. #endif
  92.  
  93. #ifdef GFLOAT
  94. #define __GFLOAT    GFLOAT
  95. #endif
  96.  
  97. #ifdef LANGUAGE_C
  98. #define    __LANGUAGE_C  LANGUAGE_C
  99. #endif
  100.  
  101. #ifdef vaxc
  102. #define __vaxc     vaxc
  103. #define __VAXC   VAXC
  104. #define __vax11c vax11c
  105. #define __VAX11C VAX11C
  106. #endif
  107.  
  108. #ifdef MOXIE
  109. #define __MOXIE   MOXIE
  110. #endif
  111.  
  112. #ifdef ULTRIX022
  113. #define __ULTRIX022 ULTRIX022
  114. #endif
  115.  
  116. #endif
  117.