[libbluray-devel] Use POSIX 2008
Rafaël Carré
git at videolan.org
Sun Jan 15 20:01:03 CET 2012
libbluray | branch: master | Rafaël Carré <funman at videolan.org> | Mon Jan 2 12:55:16 2012 -0500| [323cda69e838010ff45ab4409ebc61b0c772d3ae] | committer: hpi1
Use POSIX 2008
this gives access to strdup and getline
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=323cda69e838010ff45ab4409ebc61b0c772d3ae
---
src/Makefile.am | 2 +-
src/examples/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 0d955e0..efd48d7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@ LIB_VERSION_INFO="@LT_VERSION_INFO@"
SUBDIRS= . examples
-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT
+SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200809L -D_REENTRANT
SET_WARNINGS = @SET_WARNINGS@
SET_OPTIMIZATIONS = @SET_OPTIMIZATIONS@
SET_DEBUG_OPTS = @SET_DEBUG_OPTS@
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
index c30116f..4502a1c 100644
--- a/src/examples/Makefile.am
+++ b/src/examples/Makefile.am
@@ -1,4 +1,4 @@
-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT
+SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200809L -D_REENTRANT
SET_WARNINGS = @SET_WARNINGS@
SET_OPTIMIZATIONS = @SET_OPTIMIZATIONS@
SET_DEBUG_OPTS = @SET_DEBUG_OPTS@
More information about the libbluray-devel
mailing list