Loading...
--- Libc/Libc-320/include/standards.h
+++ Libc/Libc-583/include/standards.h
@@ -2,8 +2,6 @@
* Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
*
* @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
@@ -29,11 +27,13 @@
#ifndef _STANDARDS_H
#define _STANDARDS_H
-#ifdef _POSIX_SOURCE
+#include <sys/cdefs.h>
+
+#if defined(_POSIX_C_SOURCE) && !defined(_DARWIN_C_SOURCE)
# ifndef __STRICT_ANSI__
# define __STRICT_ANSI__
# endif
# undef __STRICT_BSD__
-#endif /* _POSIX_SOURCE */
+#endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */
#endif /* _STANDARDS_H */