From e039d78ed3e08c334225fd54fd7ee9dff84a1bb7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 26 Jan 2023 17:24:58 +0100 Subject: [PATCH] Remove CONST_COMPATIBILITY which was never used It already wasn't used in c801d85f15 (Initial revision, 1998-05-20). --- build/cmake/setup.h.in | 11 ----------- include/wx/osx/config_xcode.h | 1 - setup.h.in | 11 ----------- setup.h_vms | 11 ----------- 4 files changed, 34 deletions(-) diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in index 1bca69cbd2..e12dfd0773 100644 --- a/build/cmake/setup.h.in +++ b/build/cmake/setup.h.in @@ -786,17 +786,6 @@ */ #cmakedefine01 wxUSE_WEBKIT -/* - * The const keyword is being introduced more in wxWindows. - * You can use this setting to maintain backward compatibility. - * If 0: will use const wherever possible. - * If 1: will use const only where necessary - * for precompiled headers to work. - * If 2: will be totally backward compatible, but precompiled - * headers may not work and program size will be larger. - */ -#define CONST_COMPATIBILITY 0 - /* * use the session manager to detect KDE/GNOME */ diff --git a/include/wx/osx/config_xcode.h b/include/wx/osx/config_xcode.h index 178edbc100..b3569c8246 100644 --- a/include/wx/osx/config_xcode.h +++ b/include/wx/osx/config_xcode.h @@ -27,7 +27,6 @@ #endif #define HAVE_VISIBILITY 1 #define wxHAVE_PTHREAD_CLEANUP 1 -#define CONST_COMPATIBILITY 0 #define WX_TIMEZONE timezone #define WX_SOCKLEN_T socklen_t #define SOCKOPTLEN_T socklen_t diff --git a/setup.h.in b/setup.h.in index e015fcd181..c7aaebff26 100644 --- a/setup.h.in +++ b/setup.h.in @@ -785,17 +785,6 @@ */ #define wxUSE_WEBKIT 0 -/* - * The const keyword is being introduced more in wxWindows. - * You can use this setting to maintain backward compatibility. - * If 0: will use const wherever possible. - * If 1: will use const only where necessary - * for precompiled headers to work. - * If 2: will be totally backward compatible, but precompiled - * headers may not work and program size will be larger. - */ -#define CONST_COMPATIBILITY 0 - /* * use the session manager to detect KDE/GNOME */ diff --git a/setup.h_vms b/setup.h_vms index f2c5ef822d..d8a88bb5ea 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -872,17 +872,6 @@ typedef pid_t GPid; */ #define wxUSE_WEBKIT 1 -/* - * The const keyword is being introduced more in wxWindows. - * You can use this setting to maintain backward compatibility. - * If 0: will use const wherever possible. - * If 1: will use const only where necessary - * for precompiled headers to work. - * If 2: will be totally backward compatible, but precompiled - * headers may not work and program size will be larger. - */ -#define CONST_COMPATIBILITY 0 - /* * use the session manager to detect KDE/GNOME */