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