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 13#include <sys/cdefs.h> 14#if defined(LIBM_SCCS) && !defined(lint) 15__RCSID("$NetBSD: s_lib_version.c,v 1.7 1997/10/09 11:32:40 lukem Exp $"); 16#endif 17 18/* 19 * MACRO for standards 20 */ 21 22#include "math.h" 23#include "math_private.h" 24 25/* 26 * define and initialize _LIB_VERSION 27 */ 28#ifdef _POSIX_MODE 29_LIB_VERSION_TYPE _LIB_VERSION = _POSIX_; 30#else 31#ifdef _XOPEN_MODE 32_LIB_VERSION_TYPE _LIB_VERSION = _XOPEN_; 33#else 34#ifdef _SVID3_MODE 35_LIB_VERSION_TYPE _LIB_VERSION = _SVID_; 36#else /* default _IEEE_MODE */ 37_LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; 38#endif 39#endif 40#endif 41