Go to the documentation of this file.
17 #ifndef _DECAF_UTIL_CONFIG_H_
18 #define _DECAF_UTIL_CONFIG_H_
24 #define DECAF_API __declspec(dllexport)
26 #define DECAF_API __declspec(dllimport)
41 #if defined(HAVE_CONFIG_H)
54 #ifndef HAVE_OBJBASE_H
55 #define HAVE_OBJBASE_H
60 #ifndef HAVE_WINSOCK2_H
61 #define HAVE_WINSOCK2_H
63 #ifndef HAVE_STRUCT_ADDRINFO
64 #define HAVE_STRUCT_ADDRINFO
66 #ifndef HAVE_SYS_TIMEB_H
67 #define HAVE_SYS_TIMEB_H
72 #ifndef HAVE_WINDOWS_H
73 #define HAVE_WINDOWS_H
75 #ifndef HAVE_PROCESS_H
76 #define HAVE_PROCESS_H
78 #ifdef _NATIVE_WCHAR_T_DEFINED
82 #if defined(_MSC_VER) && _MSC_VER >= 1400
83 #ifndef _CRT_SECURE_NO_DEPRECATE
84 #define _CRT_SECURE_NO_DEPRECATE
86 #pragma warning(disable: 4996)
87 #pragma warning(disable: 4250)
88 #pragma warning(disable: 4351)
89 #pragma warning(disable: 4822)
95 #ifndef _SCL_SECURE_NO_WARNINGS
96 #define _SCL_SECURE_NO_WARNINGS 1
105 #ifndef WIN32_LEAN_AND_MEAN
106 #define WIN32_LEAN_AND_MEAN
113 #define _WIN32_WINNT 0x0501
133 #include <winsock2.h>
134 #include <ws2tcpip.h>
142 #ifndef HAVE_UUID_UUID_H
143 #define HAVE_UUID_UUID_H
148 #ifndef HAVE_PTHREAD_H
149 #define HAVE_PTHREAD_H
156 #define DECAF_UNUSED __attribute__ ((__unused__))
162 #define DECAF_STDCALL __stdcall
164 #define DECAF_STDCALL