repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix.git]
/
tests
/
lib
/
libpthread
/
h_common.h
blob
f4d03bcdec9e92449ff611fb002df99b6fcb362a
1
#ifndef H_COMMON_H
2
#define H_COMMON_H
3
4
#include <string.h>
5
6
#define PTHREAD_REQUIRE(x) \
7
do { \
8
int ret = (x); \
9
ATF_REQUIRE_MSG(ret == 0,
"%s: %s"
, #x, strerror(ret)); \
10
} while (0)
11
12
#endif
// H_COMMON_H