Skip to content

Commit

Permalink
uni
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed May 2, 2024
1 parent 2f30a26 commit 079bd45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ CHECK_TYPE_SIZE("ssize_t" SIZEOF_SSIZE_T)
if(SIZEOF_SSIZE_T)
set(HAVE_SSIZE_T TRUE)
endif(SIZEOF_SSIZE_T)

CHECK_TYPE_SIZE("ptrdiff_t" SIZEOF_PTRDIFF_T)
if(SIZEOF_PTRDIFF_T)
set(HAVE_PTRDIFF_T TRUE)
Expand Down
3 changes: 3 additions & 0 deletions config.h.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,9 @@ with zip */
/* The size of `size_t', as computed by sizeof. */
#cmakedefine SIZEOF_SIZE_T ${SIZEOF_SIZE_T}

/* The size of `ssize_t', as computed by sizeof. */
#cmakedefine SIZEOF_SSIZE_T ${SIZEOF_SSIZE_T}

/* The size of `uint', as computed by sizeof. */
#cmakedefine SIZEOF_UINT ${SIZEOF_UINT}

Expand Down
3 changes: 0 additions & 3 deletions include/ncconfigure.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef __APPLE__ /* GCC strikes again */
#ifndef uint
typedef unsigned int uint;
Expand Down

0 comments on commit 079bd45

Please sign in to comment.