diff include/freeDiameter/CMakeLists.txt @ 849:d7f940afd933

New portability function: strndup
author Sebastien Decugis <sdecugis@freediameter.net>
date Sun, 21 Oct 2012 17:12:13 +0200
parents da97a5aa7976
children 16428c4ecb22
line wrap: on
line diff
--- a/include/freeDiameter/CMakeLists.txt	Thu Oct 18 23:00:51 2012 +0200
+++ b/include/freeDiameter/CMakeLists.txt	Sun Oct 21 17:12:13 2012 +0200
@@ -63,6 +63,9 @@
 # malloc.h ?
 CHECK_INCLUDE_FILES (malloc.h HAVE_MALLOC_H)
 
+# strndup ? Missing on OS X
+CHECK_FUNCTION_EXISTS (strndup HAVE_STRNDUP)
+
 
 ### System checks -- for includes / link
 
"Welcome to our mercurial repository"