20 lines
663 B
Diff
20 lines
663 B
Diff
--- libnice-0.1.8/stun/win32_common.h.orig 2014-10-09 23:28:21.000000000 +0400
|
|
+++ libnice-0.1.8/stun/win32_common.h 2015-01-01 20:23:32.299200000 +0300
|
|
@@ -72,14 +72,14 @@
|
|
|
|
/* Using the [S]SIZE_T definitions from:
|
|
* http://msdn.microsoft.com/en-gb/library/windows/desktop/aa383751%28v=vs.85%29.aspx#SSIZE_T */
|
|
-#ifndef HAVE_SIZE_T
|
|
+#if !defined(HAVE_SIZE_T) && !defined(_SIZE_T_DEFINED)
|
|
#if defined(_WIN64)
|
|
typedef unsigned __int64 size_t;
|
|
#else
|
|
typedef unsigned long size_t;
|
|
#endif
|
|
#endif /* !HAVE_SSIZE_T */
|
|
-#ifndef HAVE_SSIZE_T
|
|
+#if !defined(HAVE_SSIZE_T) && !defined(_SSIZE_T_DEFINED)
|
|
#if defined(_WIN64)
|
|
typedef signed __int64 ssize_t;
|
|
#else
|