|
From: Tom H. <th...@cy...> - 2004-04-22 18:12:54
|
CVS commit by thughes: Cope with AT_xCACHEBSIZE not being defined, which they aren't on systems with 2.2 kernels and, it seems, on some systems with 2.4 kernels. CCMAIL: 791...@bu... M +12 -0 vg_main.c 1.151 --- valgrind/coregrind/vg_main.c #1.150:1.151 @@ -51,4 +51,16 @@ #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 |