From: Julian Seward Date: Mon, 26 Nov 2007 06:03:05 +0000 (+0000) Subject: Don't break the build on unknown (to drd) platforms. X-Git-Tag: svn/VALGRIND_3_3_0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb0d6e9eded28a8e4467251b8c908ae143c4ff45;p=thirdparty%2Fvalgrind.git Don't break the build on unknown (to drd) platforms. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7225 --- diff --git a/exp-drd/pthread_object_size.h b/exp-drd/pthread_object_size.h index 845eadf15a..934014daa1 100644 --- a/exp-drd/pthread_object_size.h +++ b/exp-drd/pthread_object_size.h @@ -1,13 +1,15 @@ // TO DO: replace the constants below by macro's #define'd during the configure // phase. -#if defined(VGA_x86) -#define PTHREAD_MUTEX_SIZE 24 -#define PTHREAD_COND_SIZE 48 -#elif defined(VGA_amd64) -#define PTHREAD_MUTEX_SIZE 40 -#define PTHREAD_COND_SIZE 48 +#if defined(VGP_x86_linux) +# define PTHREAD_MUTEX_SIZE 24 +# define PTHREAD_COND_SIZE 48 +#elif defined(VGP_amd64_linux) +# define PTHREAD_MUTEX_SIZE 40 +# define PTHREAD_COND_SIZE 48 #else -#error Unknown platform +# warning "Unknown platform for PTHREAD_{MUTEX,COND}_SIZE" +# define PTHREAD_MUTEX_SIZE 32 +# define PTHREAD_COND_SIZE 32 #endif #define PTHREAD_SPINLOCK_SIZE 4