From 7415548822342841d81d6d5d36e5ea9b5529f8b3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 19 Dec 1999 01:12:26 +0000 Subject: [PATCH] Recognize _ISOC99_SOURCE as well. --- include/features.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/features.h b/include/features.h index c447a602998..dc3f8bddf64 100644 --- a/include/features.h +++ b/include/features.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 95, 96, 97, 98 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,95,96,97,98,99 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,7 +23,8 @@ to specify the desired environment: __STRICT_ANSI__ ISO Standard C. - _ISOC9X_SOURCE Extensions to ISO C 89 from ISO C 9x. + _ISOC99_SOURCE Extensions to ISO C 89 from ISO C 99. + _ISOC9X_SOURCE Similar, kept for compatibility. _POSIX_SOURCE IEEE Std 1003.1. _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2; if >=199309L, add IEEE Std 1003.1b-1993; @@ -148,7 +149,7 @@ /* This is to enable the ISO C 9x extension. It will go away as soon as this standard is officially released. */ -#ifdef _ISOC9X_SOURCE +#if defined _ISOC9X_SOURCE || defined _ISOC99_SOURCE # define __USE_ISOC9X 1 #endif -- 2.47.2