curl: Remove unused SIZEOF_LONG_DOUBLE
Re-apply change from commit v2.8.2~537 (cmcurl: Remove unused SIZEOF_LONG_DOUBLE, 2009-12-17) on updated upstream curl.
This commit is contained in:
parent
80c881f793
commit
6db59302d0
|
@ -50,9 +50,6 @@ if(NOT UNIX)
|
||||||
set(HAVE_X509_H 0)
|
set(HAVE_X509_H 0)
|
||||||
set(HAVE_ZLIB_H 0)
|
set(HAVE_ZLIB_H 0)
|
||||||
|
|
||||||
set(HAVE_SIZEOF_LONG_DOUBLE 1)
|
|
||||||
set(SIZEOF_LONG_DOUBLE 8)
|
|
||||||
|
|
||||||
set(HAVE_SOCKET 1)
|
set(HAVE_SOCKET 1)
|
||||||
set(HAVE_POLL 0)
|
set(HAVE_POLL 0)
|
||||||
set(HAVE_SELECT 1)
|
set(HAVE_SELECT 1)
|
||||||
|
|
|
@ -512,7 +512,6 @@ check_type_size("long" SIZEOF_LONG)
|
||||||
check_type_size("short" SIZEOF_SHORT)
|
check_type_size("short" SIZEOF_SHORT)
|
||||||
check_type_size("int" SIZEOF_INT)
|
check_type_size("int" SIZEOF_INT)
|
||||||
check_type_size("__int64" SIZEOF___INT64)
|
check_type_size("__int64" SIZEOF___INT64)
|
||||||
check_type_size("long double" SIZEOF_LONG_DOUBLE)
|
|
||||||
check_type_size("time_t" SIZEOF_TIME_T)
|
check_type_size("time_t" SIZEOF_TIME_T)
|
||||||
if(NOT HAVE_SIZEOF_SSIZE_T)
|
if(NOT HAVE_SIZEOF_SSIZE_T)
|
||||||
if(SIZEOF_LONG EQUAL SIZEOF_SIZE_T)
|
if(SIZEOF_LONG EQUAL SIZEOF_SIZE_T)
|
||||||
|
|
|
@ -47,10 +47,6 @@
|
||||||
/* The last #include file should be: */
|
/* The last #include file should be: */
|
||||||
#include "memdebug.h"
|
#include "memdebug.h"
|
||||||
|
|
||||||
#ifndef SIZEOF_LONG_DOUBLE
|
|
||||||
#define SIZEOF_LONG_DOUBLE 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If SIZEOF_SIZE_T has not been defined, default to the size of long.
|
* If SIZEOF_SIZE_T has not been defined, default to the size of long.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue