changeset 1289:0aeb09ef20f1

fix ntohll on MacOSX
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 16 Jun 2015 21:24:20 +0800
parents 389c26b904d7
children 7945c75972b0 0d15dad33f0b
files include/freeDiameter/CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/include/freeDiameter/CMakeLists.txt	Sun May 03 21:04:54 2015 +0800
+++ b/include/freeDiameter/CMakeLists.txt	Tue Jun 16 21:24:20 2015 +0800
@@ -70,7 +70,7 @@
 TEST_BIG_ENDIAN(HOST_BIG_ENDIAN)
 
 # Check if ntohll is provided on the system
-CHECK_SYMBOL_EXISTS(ntohll "" HAVE_NTOHLL)
+CHECK_SYMBOL_EXISTS(ntohll netinet/in.h HAVE_NTOHLL)
 
 # malloc.h ?
 CHECK_INCLUDE_FILES (malloc.h HAVE_MALLOC_H)
"Welcome to our mercurial repository"