home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / gmt_os2.zip / src / math / s_lib_version.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-16  |  811 b   |  36 lines

  1.  
  2. /* @(#)s_lib_version.c 1.3 95/01/18 */
  3. /*
  4.  * ====================================================
  5.  * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  6.  *
  7.  * Developed at SunSoft, a Sun Microsystems, Inc. business.
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software is freely granted, provided that this notice 
  10.  * is preserved.
  11.  * ====================================================
  12.  */
  13.  
  14. /*
  15.  * MACRO for standards
  16.  */
  17.  
  18. #include "fdlibm.h"
  19.  
  20. /*
  21.  * define and initialize _LIB_VERSION
  22.  */
  23. #ifdef _POSIX_MODE
  24. _LIB_VERSION_TYPE _LIB_VERSION = _POSIX_;
  25. #else
  26. #ifdef _XOPEN_MODE
  27. _LIB_VERSION_TYPE _LIB_VERSION = _XOPEN_;
  28. #else
  29. #ifdef _SVID3_MODE
  30. _LIB_VERSION_TYPE _LIB_VERSION = _SVID_;
  31. #else                    /* default _IEEE_MODE */
  32. _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
  33. #endif
  34. #endif
  35. #endif
  36.