s_lib_version.c 963 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* @(#)s_lib_ver.c 5.1 93/09/24 */
  2. /*
  3. * ====================================================
  4. * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  5. *
  6. * Developed at SunPro, a Sun Microsystems, Inc. business.
  7. * Permission to use, copy, modify, and distribute this
  8. * software is freely granted, provided that this notice
  9. * is preserved.
  10. * ====================================================
  11. */
  12. #if defined(LIBM_SCCS) && !defined(lint)
  13. static char rcsid[] = "$NetBSD: s_lib_version.c,v 1.6 1995/05/10 20:47:44 jtc Exp $";
  14. #endif
  15. /*
  16. * MACRO for standards
  17. */
  18. #include "math.h"
  19. #include "math_private.h"
  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