macro for pthread_equal

no sense bloating apps with a function call for an equality comparison...
This commit is contained in:
Rich Felker committed 2011-08-14 15:17:36 -04:00
1 parent ef9dd03534
commit 9205e48609
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#include <pthread.h>
int pthread_equal(pthread_t a, pthread_t b)
int (pthread_equal)(pthread_t a, pthread_t b)
{
return a==b;
}