[pypy-commit] pypy py3k: Reapply the fix from issue 2348. Translation works now.

marky1991 pypy.commits at gmail.com
Thu Aug 11 11:49:31 EDT 2016


Author: Mark Young <marky1991 at gmail.com>
Branch: py3k
Changeset: r86151:94394e83a162
Date: 2016-08-09 16:17 +0000
http://bitbucket.org/pypy/pypy/changeset/94394e83a162/

Log:	Reapply the fix from issue 2348. Translation works now.

diff --git a/rpython/translator/c/src/precommondefs.h b/rpython/translator/c/src/precommondefs.h
--- a/rpython/translator/c/src/precommondefs.h
+++ b/rpython/translator/c/src/precommondefs.h
@@ -20,7 +20,7 @@
 #define _NETBSD_SOURCE 1
 /* Define to activate features from IEEE Stds 1003.1-2001 */
 #ifndef _POSIX_C_SOURCE
-#  define _POSIX_C_SOURCE 200112L
+#  define _POSIX_C_SOURCE 200809L
 #endif
 /* Define on FreeBSD to activate all library features */
 #define __BSD_VISIBLE 1


More information about the pypy-commit mailing list