summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d57e411)
Fix this warning from recent compilers:
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
-add_definitions("-D_BSD_SOURCE") # for htole32()
+add_definitions("-D_DEFAULT_SOURCE") # for htole32()
add_definitions("-D_POSIX_C_SOURCE=200112L") # for nanosleep() and lroundf()
# Find packages needed to build library
add_definitions("-D_POSIX_C_SOURCE=200112L") # for nanosleep() and lroundf()
# Find packages needed to build library