mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-03 08:01:25 +08:00
This commit is contained in:
parent
23cdaec7d7
commit
f63526e89a
@ -643,6 +643,7 @@ CHECK_INCLUDE_FILE("fcntl.h" HAVE_FCNTL_H)
|
||||
CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
|
||||
CHECK_INCLUDE_FILE("pstdint.h" HAVE_PSTDINT_H)
|
||||
CHECK_INCLUDE_FILE("endian.h" HAVE_ENDIAN_H)
|
||||
CHECK_INCLUDE_FILE("BaseTsd.h" HAVE_BASETSD_H)
|
||||
|
||||
# Type checks
|
||||
CHECK_TYPE_SIZE("double" SIZEOF_DOUBLE)
|
||||
|
@ -185,6 +185,9 @@
|
||||
/* Define to 1 if you have the <malloc.h> header file. */
|
||||
#cmakedefine HAVE_MALLOC_H @HAVE_MALLOC_H@
|
||||
|
||||
/* Define to 1 if you have the BaseTsd.h header file. */
|
||||
#cmakedefine HAVE_BASETSD_H @HAVE_BASETSD_H@
|
||||
|
||||
/* The size of `double` as computed by sizeof. */
|
||||
#cmakedefine SIZEOF_DOUBLE @SIZEOF_DOUBLE@
|
||||
/* The size of `float` as computed by sizeof. */
|
||||
|
@ -22,12 +22,15 @@ defined.
|
||||
extern char* strdup(const char*);
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SIZEOF_SSIZE_T
|
||||
#undef ssize_t
|
||||
#define ssize_t int
|
||||
#if HAVE_BASETSD_H
|
||||
#include <BaseTsd.h>
|
||||
#endif
|
||||
|
||||
//#ifndef SIZEOF_SSIZE_T
|
||||
//#undef ssize_t
|
||||
//#define ssize_t int
|
||||
//#endif
|
||||
|
||||
|
||||
|
||||
/* handle null arguments */
|
||||
|
Loading…
Reference in New Issue
Block a user