diff options
Diffstat (limited to 'src/microhttpd/tsearch.h')
-rw-r--r-- | src/microhttpd/tsearch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/microhttpd/tsearch.h b/src/microhttpd/tsearch.h index 824f9a2d..ec9c92de 100644 --- a/src/microhttpd/tsearch.h +++ b/src/microhttpd/tsearch.h | |||
@@ -9,7 +9,18 @@ | |||
9 | #ifndef _SEARCH_H_ | 9 | #ifndef _SEARCH_H_ |
10 | #define _SEARCH_H_ | 10 | #define _SEARCH_H_ |
11 | 11 | ||
12 | #ifndef _MSC_FULL_VER | ||
12 | #include <sys/cdefs.h> | 13 | #include <sys/cdefs.h> |
14 | #endif /* _MSC_FULL_VER */ | ||
15 | #if !defined(__BEGIN_DECLS) || !defined(__END_DECLS) | ||
16 | #if defined(__cplusplus) | ||
17 | #define __BEGIN_DECLS extern "C" { | ||
18 | #define __END_DECLS }; | ||
19 | #else /* !__cplusplus */ | ||
20 | #define __BEGIN_DECLS | ||
21 | #define __END_DECLS | ||
22 | #endif /* !__cplusplus */ | ||
23 | #endif /* !__BEGIN_DECLS || !__END_DECLS */ | ||
13 | #include <sys/types.h> | 24 | #include <sys/types.h> |
14 | 25 | ||
15 | typedef enum { | 26 | typedef enum { |