diff include/freeDiameter/CMakeLists.txt @ 1289:0aeb09ef20f1

fix ntohll on MacOSX
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 16 Jun 2015 21:24:20 +0800
parents b255ba44f59c
children a22d9e907d48
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"