[PATCH V2 07/11] NaCl: Enable libc feature test macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is required to make strndup(), asprintf(), and other GNU functions
work.

Signed-off-by: Kevin Cernekee <cernekee at gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 55076b1c09ac..7da44dc6f2c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ symver_vasprintf=
 symver_win32_strerror=
 
 case $host_os in
- *linux* | *gnu*)
+ *linux* | *gnu* | *nacl*)
     AC_MSG_NOTICE([Applying feature macros for GNU build])
     AC_DEFINE(_POSIX_C_SOURCE, 200112L, [_POSIX_C_SOURCE])
     # For asprintf()
-- 
2.7.0




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux