Alex Dupre wrote: > In the pthread_equal() case the "right != clean" thing could be to > create a stub comparing the parameters instead of blindly return(1). Maybe the following solution is better: int pthread_equal() __attribute__ ((weak)); #define pthread_equal(a,b) (pthread_equal == 0 ? 1 : pthread_equal(a,b)) -- Alex Dupre