PERFORCE change 168817 for review

Stanislav Sedov stas at FreeBSD.org
Wed Sep 23 14:21:23 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=168817

Change 168817 by stas at stas_yandex on 2009/09/23 14:21:00

	- Fix hellgrind build.

Affected files ...

.. //depot/projects/valgrind/helgrind/hg_intercepts.c#4 edit

Differences ...

==== //depot/projects/valgrind/helgrind/hg_intercepts.c#4 (text+ko) ====

@@ -1159,7 +1159,7 @@
 //-----------------------------------------------------------
 // glibc:  pthread_spin_destroy
 // darwin: (doesn't appear to exist)
-#if defined(VGO_linux)
+#if defined(VGO_linux) || defined(VGO_freebsd)
 
 PTH_FUNC(int, pthreadZuspinZudestroy, // pthread_spin_destroy
               pthread_spinlock_t* lock)
@@ -1196,7 +1196,7 @@
 //-----------------------------------------------------------
 // glibc:  pthread_spin_lock
 // darwin: (doesn't appear to exist)
-#if defined(VGO_linux)
+#if defined(VGO_linux) || defined(VGO_freebsd)
 
 PTH_FUNC(int, pthreadZuspinZulock, // pthread_spin_lock
               pthread_spinlock_t* lock)
@@ -1241,7 +1241,7 @@
 //-----------------------------------------------------------
 // glibc:  pthread_spin_trylock
 // darwin: (doesn't appear to exist)
-#if defined(VGO_linux)
+#if defined(VGO_linux) || defined(VGO_freebsd)
 
 PTH_FUNC(int, pthreadZuspinZutrylock, // pthread_spin_trylock
               pthread_spinlock_t* lock)


More information about the p4-projects mailing list