summaryrefslogtreecommitdiff
path: root/stun
diff options
context:
space:
mode:
authorFilippo Della Betta <filippo.dellabetta@telecomitalia.it>2012-02-15 11:07:57 +0100
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2012-02-15 15:51:46 -0500
commit982d30485d0a710c793ec86e2a70c59a7f061223 (patch)
tree241b4c460218044a233b1f111e00dc00987f9841 /stun
parent5ff6366db6b9c6e5b5848e4b7f4baa797e3c9628 (diff)
downloadlibnice-982d30485d0a710c793ec86e2a70c59a7f061223.tar.gz
Added typedef on size_t and ssize_t that are not defined on Visual Studio platform
Diffstat (limited to 'stun')
-rw-r--r--stun/win32_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stun/win32_common.h b/stun/win32_common.h
index cfb862d..5f8e593 100644
--- a/stun/win32_common.h
+++ b/stun/win32_common.h
@@ -69,6 +69,11 @@ typedef unsigned uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
+#ifndef _SSIZE_T_
+typedef unsigned int size_t;
+typedef unsigned long ssize_t;
+#endif
+
typedef uint8_t bool;
#define true 1
#define false 0