]> git.ipfire.org Git - thirdparty/freeswitch.git/blame - libs/libzrtp/include/zrtp_config_win.h
[mod_http_cache] Fix leaking curl handle in http_get()
[thirdparty/freeswitch.git] / libs / libzrtp / include / zrtp_config_win.h
CommitLineData
8414c498
TC
1/*
2 * libZRTP SDK library, implements the ZRTP secure VoIP protocol.
3 * Copyright (c) 2006-2009 Philip R. Zimmermann. All rights reserved.
4 * Contact: http://philzimmermann.com
5 * For licensing and other legal details, see the file zrtp_legal.c.
cd98ec85
BW
6 *
7 * Viktor Krykun <v.krikun at zfoneproject.com>
8414c498
TC
8 */
9
10#ifndef ZRTP_WIN_CONFIG_H__
11#define ZRTP_WIN_CONFIG_H__
12
13#define _CRT_SECURE_NO_WARNINGS 1
14#pragma warning(disable: 4068)
15
16#if !(defined(__BUILDMACHINE__) && __BUILDMACHINE__ == WinDDK)
17#include <Windows.h>
18#endif
19
20/*
21 * Used to map system integer types to zrtp integer definitions.
22 * Define to 1 if you have the <inttypes.h> header file.
23 */
24#undef ZRTP_HAVE_INTTYPES_H
25
26#define ZRTP_HAVE_STRING_H 1
27
28/*
29 * This header is needed for operations with binary file in deefault realization
30 * of the secrets' cache. Can be eliminated if default cache isn't used.
31 * Define to 1 if you have the <stdio.h> header file.
32 */
33#ifndef ZRTP_HAVE_STDIO_H
34# define ZRTP_HAVE_STDIO_H 1
35#endif
36
37#ifndef ZRTP_HAVE_STDARG_H
38# define ZRTP_HAVE_STDARG_H 1
39#endif
40
41/*
42 * Used by bnlib, but we don't need this on Windows platform.
43 */
44#ifndef NO_ASSERT_H
45 #define NO_ASSERT_H 1
46#endif
47
48/*
49 * Used by bnlib. We have stdlib in any Windows platform - set it to 1.
50 */
51#ifndef NO_STDLIB_H
52 #define NO_STDLIB_H 0
53#endif
54
55
56#define ZRTP_HAVE_INT64_T 0
57#define ZRTP_HAVE_INT32_T 0
58#define ZRTP_HAVE_INT16_T 0
59#define ZRTP_HAVE_INT8_T 0
60
61#define ZRTP_HAVE_UINT64_T 0
62#define ZRTP_HAVE_UINT32_T 0
63#define ZRTP_HAVE_UINT16_T 0
64#define ZRTP_HAVE_UINT8_T 0
65
66#define SIZEOF_UNSIGNED_LONG 4
67#define SIZEOF_UNSIGNED_LONG_LONG 8
68
69#define ZRTP_INLINE static __inline
70
71#define ZRTP_VERSION "0.90"
72
73
74#endif /* ZRTP_WIN_CONFIG_H__ */