s_lib_version.c 793 B

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