1996-03-05 21:41:30 +00:00
|
|
|
/* @(#)s_lib_ver.c 5.1 93/09/24 */
|
|
|
|
/*
|
|
|
|
* ====================================================
|
|
|
|
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
|
|
|
|
*
|
|
|
|
* Developed at SunPro, a Sun Microsystems, Inc. business.
|
|
|
|
* Permission to use, copy, modify, and distribute this
|
2013-06-05 20:44:03 +00:00
|
|
|
* software is freely granted, provided that this notice
|
1996-03-05 21:41:30 +00:00
|
|
|
* is preserved.
|
|
|
|
* ====================================================
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(LIBM_SCCS) && !defined(lint)
|
|
|
|
static char rcsid[] = "$NetBSD: s_lib_version.c,v 1.6 1995/05/10 20:47:44 jtc Exp $";
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* MACRO for standards
|
|
|
|
*/
|
|
|
|
|
2012-03-09 19:29:16 +00:00
|
|
|
#include <math.h>
|
|
|
|
#include <math_private.h>
|
1996-03-05 21:41:30 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* define and initialize _LIB_VERSION
|
|
|
|
*/
|
|
|
|
#ifdef _POSIX_MODE
|
2013-05-13 06:16:36 +00:00
|
|
|
_LIB_VERSION_TYPE _LIB_VERSION_INTERNAL = _POSIX_;
|
1996-03-05 21:41:30 +00:00
|
|
|
#else
|
|
|
|
#ifdef _XOPEN_MODE
|
2013-05-13 06:16:36 +00:00
|
|
|
_LIB_VERSION_TYPE _LIB_VERSION_INTERNAL = _XOPEN_;
|
1996-03-05 21:41:30 +00:00
|
|
|
#else
|
|
|
|
#ifdef _SVID3_MODE
|
2013-05-13 06:16:36 +00:00
|
|
|
_LIB_VERSION_TYPE _LIB_VERSION_INTERNAL = _SVID_;
|
1996-03-05 21:41:30 +00:00
|
|
|
#else /* default _IEEE_MODE */
|
2013-05-13 06:16:36 +00:00
|
|
|
_LIB_VERSION_TYPE _LIB_VERSION_INTERNAL = _IEEE_;
|
1996-03-05 21:41:30 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2013-05-13 06:16:36 +00:00
|
|
|
weak_alias (_LIB_VERSION_INTERNAL, _LIB_VERSION)
|