repo.or.cz
/
nobug.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
#ifdef should be #if
[nobug.git]
/
test_nobug_thread.c
blob
dfa7a07f4ae448eb6dc646cf81a54b9b232cd3fe
1
#define EBUG_ALPHA
2
#include
"nobug.h"
3
4
5
#include <stdlib.h>
6
7
8
int
main
()
9
{
10
nobug_init
();
11
12
NOBUG_THREAD_ID_SET
(
"mythread"
);
13
14
ASSERT
(
0
,
"should show mythread_1 when compiled with -DHAVE_PTHREAD_H"
);
15
16
return
0
;
17
}