freeswitch/libs/libzrtp/include/zrtp_config_win.h
Travis Cross d2edcad66e Merge Phil Zimmermann's libzrtp as a FreeSWITCH library
Thanks to Phil Zimmermann for the code and for the license exception
we needed to include it.

There remains some build system integration work to be done before
this code will build properly in the FreeSWITCH tree.
2012-03-31 23:42:27 +00:00

75 lines
1.7 KiB
C

/*
* libZRTP SDK library, implements the ZRTP secure VoIP protocol.
* Copyright (c) 2006-2009 Philip R. Zimmermann. All rights reserved.
* Contact: http://philzimmermann.com
* For licensing and other legal details, see the file zrtp_legal.c.
*
* Viktor Krykun <v.krikun at zfoneproject.com>
*/
#ifndef ZRTP_WIN_CONFIG_H__
#define ZRTP_WIN_CONFIG_H__
#define _CRT_SECURE_NO_WARNINGS 1
#pragma warning(disable: 4068)
#if !(defined(__BUILDMACHINE__) && __BUILDMACHINE__ == WinDDK)
#include <Windows.h>
#endif
/*
* Used to map system integer types to zrtp integer definitions.
* Define to 1 if you have the <inttypes.h> header file.
*/
#undef ZRTP_HAVE_INTTYPES_H
#define ZRTP_HAVE_STRING_H 1
/*
* This header is needed for operations with binary file in deefault realization
* of the secrets' cache. Can be eliminated if default cache isn't used.
* Define to 1 if you have the <stdio.h> header file.
*/
#ifndef ZRTP_HAVE_STDIO_H
# define ZRTP_HAVE_STDIO_H 1
#endif
#ifndef ZRTP_HAVE_STDARG_H
# define ZRTP_HAVE_STDARG_H 1
#endif
/*
* Used by bnlib, but we don't need this on Windows platform.
*/
#ifndef NO_ASSERT_H
#define NO_ASSERT_H 1
#endif
/*
* Used by bnlib. We have stdlib in any Windows platform - set it to 1.
*/
#ifndef NO_STDLIB_H
#define NO_STDLIB_H 0
#endif
#define ZRTP_HAVE_INT64_T 0
#define ZRTP_HAVE_INT32_T 0
#define ZRTP_HAVE_INT16_T 0
#define ZRTP_HAVE_INT8_T 0
#define ZRTP_HAVE_UINT64_T 0
#define ZRTP_HAVE_UINT32_T 0
#define ZRTP_HAVE_UINT16_T 0
#define ZRTP_HAVE_UINT8_T 0
#define SIZEOF_UNSIGNED_LONG 4
#define SIZEOF_UNSIGNED_LONG_LONG 8
#define ZRTP_INLINE static __inline
#define ZRTP_VERSION "0.90"
#endif /* ZRTP_WIN_CONFIG_H__ */