blob: c4cccc172bbda768895b43cae33f9cbeae02d499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifdef WITH_PTHREAD
#include <pthread.h>
#elif defined(WITH_LEX_YACC)
extern "C" int yywrap(void);
extern "C" void yyerror(char const *s);
#elif defined(WITH_SETUPAPI)
#include <windows.h>
#include <Setupapi.h>
#endif
void b();
void c();
int d()
{
b();
c();
#ifdef WITH_PTHREAD
pthread_t self = pthread_self();
return static_cast<int>(self);
#elif defined(WITH_LEX_YACC)
yywrap();
yyerror("no error");
return 0;
#elif defined(WITH_SETUPAPI)
CABINET_INFO ci;
ci.SetId = 0;
return ci.SetId;
#else
return 0;
#endif
}
|