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 set(SYSTYPES
size_t size_t
wchar_t int long short wchar_t int long short
gid_t uid_t
) )
if(NOT MSVC) if(NOT MSVC)
list(APPEND SYSTYPES mode_t off_t) list(APPEND SYSTYPES mode_t off_t)

View File

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

View File

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

View File

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