From e8975eec72b975a0132f49878885c024248ac4b0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 28 Jul 2021 20:59:55 +0200 Subject: [PATCH] Stop testing for gid_t and uid_t that we never use in CMake Also remove the corresponding parts of setup.h.in. --- build/cmake/setup.cmake | 1 - build/cmake/setup.h.in | 6 ------ setup.h.in | 6 ------ setup.h_vms | 6 ------ 4 files changed, 19 deletions(-) diff --git a/build/cmake/setup.cmake b/build/cmake/setup.cmake index 5c41065187..972f37fbb7 100644 --- a/build/cmake/setup.cmake +++ b/build/cmake/setup.cmake @@ -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) diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in index bf6037b0cb..7601b511a2 100644 --- a/build/cmake/setup.h.in +++ b/build/cmake/setup.h.in @@ -17,9 +17,6 @@ /* the installation location prefix from configure */ #cmakedefine wxINSTALL_PREFIX "@wxINSTALL_PREFIX@" -/* Define to `int' if doesn't define. */ -#cmakedefine gid_t int - /* Define to `int' if doesn't define. */ #cmakedefine mode_t int @@ -40,9 +37,6 @@ #cmakedefine _GNU_SOURCE 1 #endif -/* Define to `int' if 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 diff --git a/setup.h.in b/setup.h.in index 53768487bb..ea18824f28 100644 --- a/setup.h.in +++ b/setup.h.in @@ -17,9 +17,6 @@ /* the installation location prefix from configure */ #undef wxINSTALL_PREFIX -/* Define to `int' if doesn't define. */ -#undef gid_t - /* Define to `int' if doesn't define. */ #undef mode_t @@ -40,9 +37,6 @@ #undef _GNU_SOURCE #endif -/* Define to `int' if 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 diff --git a/setup.h_vms b/setup.h_vms index c9ebf676ff..5e547653c5 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -36,9 +36,6 @@ /* Define this to get extra features from GNU libc. */ #undef _GNU_SOURCE -/* Define to `int' if doesn't define. */ -#undef gid_t - /* Define to `int' if 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 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