]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Cope with AT_xCACHEBSIZE not being defined, which they aren't on systems
authorTom Hughes <tom@compton.nu>
Thu, 22 Apr 2004 18:12:31 +0000 (18:12 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 22 Apr 2004 18:12:31 +0000 (18:12 +0000)
with 2.2 kernels and, it seems, on some systems with 2.4 kernels.

CCMAIL: 79179-done@bugs.kde.org

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2384

coregrind/vg_main.c

index 9da5b98d279109955ea5e582b58aa5824959b54d..c8cfcfaf4d7b11288813cb317e8bb66eb4f9772c 100644 (file)
 #include <sys/wait.h>
 #include <unistd.h>
 
+#ifndef AT_DCACHEBSIZE
+#define AT_DCACHEBSIZE         19
+#endif /* AT_DCACHEBSIZE */
+
+#ifndef AT_ICACHEBSIZE
+#define AT_ICACHEBSIZE         20
+#endif /* AT_ICACHEBSIZE */
+
+#ifndef AT_UCACHEBSIZE
+#define AT_UCACHEBSIZE         21
+#endif /* AT_UCACHEBSIZE */
+
 #ifndef AT_SYSINFO
 #define AT_SYSINFO             32
 #endif /* AT_SYSINFO */