zrtp_config_win.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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.
  6. *
  7. * Viktor Krykun <v.krikun at zfoneproject.com>
  8. */
  9. #ifndef ZRTP_WIN_CONFIG_H__
  10. #define ZRTP_WIN_CONFIG_H__
  11. #define _CRT_SECURE_NO_WARNINGS 1
  12. #pragma warning(disable: 4068)
  13. #if !(defined(__BUILDMACHINE__) && __BUILDMACHINE__ == WinDDK)
  14. #include <Windows.h>
  15. #endif
  16. /*
  17. * Used to map system integer types to zrtp integer definitions.
  18. * Define to 1 if you have the <inttypes.h> header file.
  19. */
  20. #undef ZRTP_HAVE_INTTYPES_H
  21. #define ZRTP_HAVE_STRING_H 1
  22. /*
  23. * This header is needed for operations with binary file in deefault realization
  24. * of the secrets' cache. Can be eliminated if default cache isn't used.
  25. * Define to 1 if you have the <stdio.h> header file.
  26. */
  27. #ifndef ZRTP_HAVE_STDIO_H
  28. # define ZRTP_HAVE_STDIO_H 1
  29. #endif
  30. #ifndef ZRTP_HAVE_STDARG_H
  31. # define ZRTP_HAVE_STDARG_H 1
  32. #endif
  33. /*
  34. * Used by bnlib, but we don't need this on Windows platform.
  35. */
  36. #ifndef NO_ASSERT_H
  37. #define NO_ASSERT_H 1
  38. #endif
  39. /*
  40. * Used by bnlib. We have stdlib in any Windows platform - set it to 1.
  41. */
  42. #ifndef NO_STDLIB_H
  43. #define NO_STDLIB_H 0
  44. #endif
  45. #define ZRTP_HAVE_INT64_T 0
  46. #define ZRTP_HAVE_INT32_T 0
  47. #define ZRTP_HAVE_INT16_T 0
  48. #define ZRTP_HAVE_INT8_T 0
  49. #define ZRTP_HAVE_UINT64_T 0
  50. #define ZRTP_HAVE_UINT32_T 0
  51. #define ZRTP_HAVE_UINT16_T 0
  52. #define ZRTP_HAVE_UINT8_T 0
  53. #define SIZEOF_UNSIGNED_LONG 4
  54. #define SIZEOF_UNSIGNED_LONG_LONG 8
  55. #define ZRTP_INLINE static __inline
  56. #define ZRTP_VERSION "0.90"
  57. #endif /* ZRTP_WIN_CONFIG_H__ */