Back to index

glibc  2.9
s_lib_version.c
Go to the documentation of this file.
00001 /* @(#)s_lib_ver.c 5.1 93/09/24 */
00002 /*
00003  * ====================================================
00004  * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
00005  *
00006  * Developed at SunPro, a Sun Microsystems, Inc. business.
00007  * Permission to use, copy, modify, and distribute this
00008  * software is freely granted, provided that this notice 
00009  * is preserved.
00010  * ====================================================
00011  */
00012 
00013 #if defined(LIBM_SCCS) && !defined(lint)
00014 static char rcsid[] = "$NetBSD: s_lib_version.c,v 1.6 1995/05/10 20:47:44 jtc Exp $";
00015 #endif
00016 
00017 /*
00018  * MACRO for standards
00019  */
00020 
00021 #include "math.h"
00022 #include "math_private.h"
00023 
00024 /*
00025  * define and initialize _LIB_VERSION
00026  */
00027 #ifdef _POSIX_MODE
00028 _LIB_VERSION_TYPE _LIB_VERSION = _POSIX_;
00029 #else
00030 #ifdef _XOPEN_MODE
00031 _LIB_VERSION_TYPE _LIB_VERSION = _XOPEN_;
00032 #else
00033 #ifdef _SVID3_MODE
00034 _LIB_VERSION_TYPE _LIB_VERSION = _SVID_;
00035 #else                              /* default _IEEE_MODE */
00036 _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
00037 #endif
00038 #endif
00039 #endif
00040