Update _POSIX_C_SOURCE to the latest version
authorTing-Wei Lan <lantw@src.gnome.org>
Fri, 12 Jan 2018 07:33:16 +0000 (15:33 +0800)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 12 Jan 2018 08:19:41 +0000 (09:19 +0100)
Defining _POSIX_C_SOURCE to an old version on FreeBSD can cause C99 to
be disabled in libc.

src/hb-blob.cc

index 59c83336374a865bc5de3af5a43aff74c391d95c..4cf6d1e54513df0032e8766d8eb1c896c3fb3d0f 100644 (file)
@@ -26,7 +26,7 @@
 
 /* http://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html */
 #ifndef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200809L
 #endif
 
 #include "hb-private.hh"