Moved header detection defines to config.h
This commit is contained in:
parent
d339b986de
commit
120e5e2d43
@ -345,14 +345,6 @@ else()
|
|||||||
set(HAVE_SYS_FILIO_H 1)
|
set(HAVE_SYS_FILIO_H 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(HAVE_STDBOOL_H)
|
|
||||||
add_definitions(-DHAVE_STDBOOL_H)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(HAVE_STDINT_H)
|
|
||||||
add_definitions(-DHAVE_STDINT_H)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOT IOS)
|
if(NOT IOS)
|
||||||
check_struct_has_member("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
|
check_struct_has_member("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
|
||||||
else()
|
else()
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
/* Include files */
|
/* Include files */
|
||||||
#cmakedefine HAVE_FCNTL_H
|
#cmakedefine HAVE_FCNTL_H
|
||||||
#cmakedefine HAVE_UNISTD_H
|
#cmakedefine HAVE_UNISTD_H
|
||||||
|
#cmakedefine HAVE_STDINT_H
|
||||||
|
#cmakedefine HAVE_STDBOOL_H
|
||||||
#cmakedefine HAVE_INTTYPES_H
|
#cmakedefine HAVE_INTTYPES_H
|
||||||
#cmakedefine HAVE_SYS_MODEM_H
|
#cmakedefine HAVE_SYS_MODEM_H
|
||||||
#cmakedefine HAVE_SYS_FILIO_H
|
#cmakedefine HAVE_SYS_FILIO_H
|
||||||
|
@ -23,6 +23,10 @@
|
|||||||
/* MSDN: Windows Data Types - http://msdn.microsoft.com/en-us/library/aa383751/ */
|
/* MSDN: Windows Data Types - http://msdn.microsoft.com/en-us/library/aa383751/ */
|
||||||
/* [MS-DTYP]: Windows Data Types - http://msdn.microsoft.com/en-us/library/cc230273/ */
|
/* [MS-DTYP]: Windows Data Types - http://msdn.microsoft.com/en-us/library/cc230273/ */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#include <winpr/windows.h>
|
#include <winpr/windows.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user