* $Id$
*
* Written by Mumit Khan <khan@xraylith.wisc.edu>
- * Copyright (C) 1999, 2001-2011, 2014-2017, MinGW.org Project
+ * Copyright (C) 1999, 2001-2011, 2014-2018, MinGW.org Project
*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* interfaces which have been marked as "obsolescent", from this POSIX
* version onwards, will be reported as "deprecated", at point of use.
*/
-# define __POSIX_1995_DEPRECATED __MINGW_ATTRIB_DEPRECATED
+# define __POSIX_1996_DEPRECATED __MINGW_ATTRIB_DEPRECATED
+#else
+/* POSIX.1-1996 conformance is NOT required; do not object to use of
+ * interfaces which became "obsolescent" in this POSIX version, but
+ * were still fully supported in earlier versions.
+ */
+# define __POSIX_1996_DEPRECATED
+#endif
#if _POSIX_C_SOURCE >= 200112L
/* Conformance with POSIX.1-2001 has been requested; ensure that any
* version onwards, will be reported as "deprecated", at point of use.
*/
# define __POSIX_2001_DEPRECATED __MINGW_ATTRIB_DEPRECATED
+#else
+/* POSIX.1-2001 conformance is NOT required; do not object to use of
+ * interfaces which became "obsolescent" in this POSIX version, but
+ * were still fully supported in earlier versions.
+ */
+# define __POSIX_2001_DEPRECATED
+#endif
#if _POSIX_C_SOURCE >= 200809L
/* Conformance with POSIX.1-2008 has been requested; ensure that any
* version onwards, will be reported as "deprecated", at point of use.
*/
# define __POSIX_2008_DEPRECATED __MINGW_ATTRIB_DEPRECATED
-
#else
/* POSIX.1-2008 conformance is NOT required; do not object to use of
* interfaces which became "obsolescent" in this POSIX version, but
*/
# define __POSIX_2008_DEPRECATED
#endif
-#else
-/* POSIX.1-2001 conformance is NOT required; do not object to use of
- * interfaces which became "obsolescent" in this POSIX version, but
- * were still fully supported in earlier versions.
- */
-# define __POSIX_2001_DEPRECATED
-#endif
-#else
-/* POSIX.1-1996 conformance is NOT required; do not object to use of
- * interfaces which became "obsolescent" in this POSIX version, but
- * were still fully supported in earlier versions.
- */
-# define __POSIX_1995_DEPRECATED
-#endif
#ifndef _ISOC99_SOURCE
/* libmingwex.a provides free-standing implementations for many of the