forked from pool/mvapich2
21 lines
595 B
Diff
21 lines
595 B
Diff
|
From: Philipp Thomas <pth@suse.de>
|
||
|
Date: 2014-04-23 17:44:45+02:00
|
||
|
Subject: Define GNU_SOURCE for pthrea_yield
|
||
|
|
||
|
---
|
||
|
src/openpa/test/opa_test.h | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
Index: src/openpa/test/opa_test.h
|
||
|
===================================================================
|
||
|
--- src/openpa/test/opa_test.h.orig 2014-03-22 22:56:53.000000000 +0100
|
||
|
+++ src/openpa/test/opa_test.h 2014-04-23 17:43:18.697310735 +0200
|
||
|
@@ -20,6 +20,7 @@
|
||
|
#include <limits.h>
|
||
|
#include <time.h>
|
||
|
#if defined(OPA_HAVE_PTHREAD_H)
|
||
|
+# define GNU_SOURCE
|
||
|
# include <pthread.h>
|
||
|
#endif /* HAVE_PTHREAD_H */
|
||
|
|