Author: sewardj
Date: 2007-11-26 06:03:05 +0000 (Mon, 26 Nov 2007)
New Revision: 7225

Log:
Don't break the build on unknown (to drd) platforms.

Modified:
   trunk/exp-drd/pthread_object_size.h


Modified: trunk/exp-drd/pthread_object_size.h
===================================================================
--- trunk/exp-drd/pthread_object_size.h 2007-11-26 02:55:12 UTC (rev 7224)
+++ trunk/exp-drd/pthread_object_size.h 2007-11-26 06:03:05 UTC (rev 7225)
@@ -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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to