chiark / gitweb /
Use `...` instead of POSIX $(...) to pander to stupid shells.
[adns.git] / regress / hredirect.h
1 #ifndef HREDIRECT_H_INCLUDED
2 #define HREDIRECT_H_INCLUDED
3 #include "hsyscalls.h"
4 #undef select
5 #define select Hselect
6 #ifdef HAVE_POLL
7 #undef poll
8 #define poll Hpoll
9 #endif
10 #undef socket
11 #define socket Hsocket
12 #undef fcntl
13 #define fcntl Hfcntl
14 #undef connect
15 #define connect Hconnect
16 #undef close
17 #define close Hclose
18 #undef sendto
19 #define sendto Hsendto
20 #undef recvfrom
21 #define recvfrom Hrecvfrom
22 #undef read
23 #define read Hread
24 #undef write
25 #define write Hwrite
26 #undef int
27 #define writev Hwritev
28 #undef int
29 #define gettimeofday Hgettimeofday
30 #undef void*
31 #define malloc Hmalloc
32 #undef void
33 #define free Hfree
34 #undef void*
35 #define realloc Hrealloc
36 #undef void
37 #define exit Hexit
38 #endif