Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ikev2: add reason for deleted sa debug log
[vpp.git]
/
src
/
cmake
/
syscall.cmake
diff --git
a/src/cmake/syscall.cmake
b/src/cmake/syscall.cmake
index
1e0a559
..
aa3bac4
100644
(file)
--- a/
src/cmake/syscall.cmake
+++ b/
src/cmake/syscall.cmake
@@
-34,3
+34,12
@@
if (HAVE_GETCPU)
add_definitions(-DHAVE_GETCPU)
endif()
+check_c_source_compiles("
+ #define _GNU_SOURCE
+ #include <fcntl.h>
+ int main() { return fcntl64 (0, 0); }
+" HAVE_FCNTL64)
+
+if (HAVE_FCNTL64)
+ add_definitions(-DHAVE_FCNTL64)
+endif()