]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Remove GLIBC_VERSION_NN macros
authorOliver Kurth <okurth@vmware.com>
Mon, 26 Feb 2018 20:29:03 +0000 (12:29 -0800)
committerOliver Kurth <okurth@vmware.com>
Mon, 26 Feb 2018 20:29:03 +0000 (12:29 -0800)
No existing usages. Astute observers will note we currently
use glibc-2.5 minimum (so all but one of these macros are ALWAYS
defined).

open-vm-tools/lib/include/vm_basic_defs.h

index b36250d10eb0d321b88642ee5de0668c7e81b360..643dedb14b2cc1cfb731ce95db8ade557a6890e1 100644 (file)
@@ -565,29 +565,6 @@ typedef int pid_t;
 #endif
 #endif
 
-#if defined __linux__ && !defined __KERNEL__ && !defined MODULE && \
-                         !defined VMM && !defined FROBOS && !defined __ANDROID__
-#include <features.h>
-#if __GLIBC_PREREQ(2, 1) && !defined GLIBC_VERSION_21
-#define GLIBC_VERSION_21
-#endif
-#if __GLIBC_PREREQ(2, 2) && !defined GLIBC_VERSION_22
-#define GLIBC_VERSION_22
-#endif
-#if __GLIBC_PREREQ(2, 3) && !defined GLIBC_VERSION_23
-#define GLIBC_VERSION_23
-#endif
-#if __GLIBC_PREREQ(2, 4) && !defined GLIBC_VERSION_24
-#define GLIBC_VERSION_24
-#endif
-#if __GLIBC_PREREQ(2, 5) && !defined GLIBC_VERSION_25
-#define GLIBC_VERSION_25
-#endif
-#if __GLIBC_PREREQ(2, 12) && !defined GLIBC_VERSION_212
-#define GLIBC_VERSION_212
-#endif
-#endif
-
 /*
  * Convenience definitions of unicode characters.
  */