X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/734aad71947a79037af64f74c683f5eb36fe6065..c957a83bde4df2e2d3d1ed0963656856b48ef0a0:/include/standards.h diff --git a/include/standards.h b/include/standards.h index b61eb11..322fd19 100644 --- a/include/standards.h +++ b/include/standards.h @@ -3,8 +3,6 @@ * * @APPLE_LICENSE_HEADER_START@ * - * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. - * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -29,11 +27,11 @@ #ifndef _STANDARDS_H #define _STANDARDS_H -#ifdef _POSIX_SOURCE - #ifndef __STRICT_ANSI__ - #define __STRICT_ANSI__ - #endif - #undef __STRICT_BSD__ -#endif /* _POSIX_SOURCE */ +#ifdef _POSIX_C_SOURCE +# ifndef __STRICT_ANSI__ +# define __STRICT_ANSI__ +# endif +# undef __STRICT_BSD__ +#endif /* _POSIX_C_SOURCE */ #endif /* _STANDARDS_H */