mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Added a sizeof check for void*
This commit is contained in:
parent
8487f28277
commit
6a0d7cc51a
@ -886,6 +886,7 @@ CHECK_INCLUDE_FILE("BaseTsd.h" HAVE_BASETSD_H)
|
||||
CHECK_INCLUDE_FILE("stddef.h" HAVE_STDDEF_H)
|
||||
|
||||
# Type checks
|
||||
CHECK_TYPE_SIZE("void*" SIZEOF_VOIDSTAR)
|
||||
CHECK_TYPE_SIZE("char" SIZEOF_CHAR)
|
||||
CHECK_TYPE_SIZE("double" SIZEOF_DOUBLE)
|
||||
CHECK_TYPE_SIZE("float" SIZEOF_FLOAT)
|
||||
|
@ -206,6 +206,8 @@ are set when opening a binary file on Windows. */
|
||||
/* Define if we have filelengthi64. */
|
||||
#cmakedefine HAVE_FILE_LENGTH_I64 @HAVE_FILE_LENGTH_I64@
|
||||
|
||||
/* The size of `void*` as computed by sizeof. */
|
||||
#cmakedefine SIZEOF_VOIDSTAR @SIZEOF_VOIDSTAR@
|
||||
/* The size of `char` as computed by sizeof. */
|
||||
#cmakedefine SIZEOF_CHAR @SIZEOF_CHAR@
|
||||
/* The size of `double` as computed by sizeof. */
|
||||
|
Loading…
Reference in New Issue
Block a user