Stop testing for gid_t and uid_t that we never use in CMake

Also remove the corresponding parts of setup.h.in.
This commit is contained in:
Vadim Zeitlin 2021-07-28 20:59:55 +02:00
parent 244389699e
commit e8975eec72
4 changed files with 0 additions and 19 deletions

View File

@ -650,7 +650,6 @@ endif()
set(SYSTYPES
size_t
wchar_t int long short
gid_t uid_t
)
if(NOT MSVC)
list(APPEND SYSTYPES mode_t off_t)

View File

@ -17,9 +17,6 @@
/* the installation location prefix from configure */
#cmakedefine wxINSTALL_PREFIX "@wxINSTALL_PREFIX@"
/* Define to `int' if <sys/types.h> doesn't define. */
#cmakedefine gid_t int
/* Define to `int' if <sys/types.h> doesn't define. */
#cmakedefine mode_t int
@ -40,9 +37,6 @@
#cmakedefine _GNU_SOURCE 1
#endif
/* Define to `int' if <sys/types.h> doesn't define. */
#cmakedefine uid_t int
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#cmakedefine WORDS_BIGENDIAN 1

View File

@ -17,9 +17,6 @@
/* the installation location prefix from configure */
#undef wxINSTALL_PREFIX
/* Define to `int' if <sys/types.h> doesn't define. */
#undef gid_t
/* Define to `int' if <sys/types.h> doesn't define. */
#undef mode_t
@ -40,9 +37,6 @@
#undef _GNU_SOURCE
#endif
/* Define to `int' if <sys/types.h> doesn't define. */
#undef uid_t
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN

View File

@ -36,9 +36,6 @@
/* Define this to get extra features from GNU libc. */
#undef _GNU_SOURCE
/* Define to `int' if <sys/types.h> doesn't define. */
#undef gid_t
/* Define to `int' if <sys/types.h> doesn't define. */
#undef mode_t
@ -54,9 +51,6 @@
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to `int' if <sys/types.h> doesn't define. */
#undef uid_t
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN