mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
Remove round() mess
This commit is contained in:
@@ -85,7 +85,6 @@ check_function_exists("sendfile" HAVE_SENDFILE)
|
||||
check_function_exists("backtrace" HAVE_DECL_BACKTRACE)
|
||||
check_function_exists("backtrace_symbols" HAVE_DECL_BACKTRACE_SYMBOLS)
|
||||
check_function_exists("posix_memalign" HAVE_POSIX_MEMALIGN)
|
||||
check_prototype_definition("round" "double round (double x)" "0.0" "math.h" HAVE_DECL_ROUND)
|
||||
check_type_size("siginfo_t" HAVE_SIGINFO_T)
|
||||
check_type_size("ucontext_t" HAVE_UCONTEXT_T)
|
||||
|
||||
|
||||
@@ -314,7 +314,6 @@ AC_CHECK_HEADERS(sys/shm.h,,,)
|
||||
fi
|
||||
AC_CHECK_HEADERS(zlib.h,,,)
|
||||
|
||||
AC_CHECK_DECLS(round,,,[#include <math.h>])
|
||||
if test "$ZM_SSL_LIB" == "openssl"; then
|
||||
AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires openssl/md5.h - use ZM_SSL_LIB option to select gnutls instead]),[#include <stdlib.h>
|
||||
#include <openssl/md5.h>])
|
||||
|
||||
7
src/zm.h
7
src/zm.h
@@ -23,13 +23,6 @@
|
||||
#include "zm_config.h"
|
||||
#include "zm_logger.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#if !HAVE_DECL_ROUND
|
||||
double round(double);
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern const char* self;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#cmakedefine HAVE_DECL_BACKTRACE 1
|
||||
#cmakedefine HAVE_DECL_BACKTRACE_SYMBOLS 1
|
||||
#cmakedefine HAVE_POSIX_MEMALIGN 1
|
||||
#cmakedefine HAVE_DECL_ROUND 1
|
||||
#cmakedefine HAVE_SIGINFO_T 1
|
||||
#cmakedefine HAVE_UCONTEXT_T 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user