aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-12-21 21:06:01 +0000
committerGerald Combs <gerald@wireshark.org>2009-12-21 21:06:01 +0000
commit8fc1491a609b956f7cad5b0625ee8c1dd0895e45 (patch)
treec7dd20c72484499198d106b5ba392787651f500a /packaging
parent2ab6b0f8eb121039da65297129ab495b824b45f2 (diff)
Switch to using a bundled version of the openSUSE Build Service packages
for GNUTLS since they provide 32-bit and 64-bit Windows packages. We no longer have winposixtype.h, so remove its #includes and add a ssize_t typedef to config.h.win32. svn path=/trunk/; revision=31341
Diffstat (limited to 'packaging')
-rw-r--r--packaging/u3/tools/sysdep.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/packaging/u3/tools/sysdep.h b/packaging/u3/tools/sysdep.h
index 9fc7c889a1..a44b41b38c 100644
--- a/packaging/u3/tools/sysdep.h
+++ b/packaging/u3/tools/sysdep.h
@@ -45,10 +45,7 @@
#include "config.h"
#endif
-#ifdef _WIN32
-/* #include <windows.h> */
-#include <winposixtype.h>
-#else
+#ifndef _WIN32
#include <sys/types.h>
#include <sys/time.h>
#include <sys/sysinfo.h>
@@ -67,7 +64,7 @@
#define MD5Init(md) gcry_md_open(md, GCRY_MD_MD5, 0)
#define MD5Update(md, data, len) gcry_md_write(*(md), data, len)
#define MD5Final(buf, md) memcpy(buf, gcry_md_read(*(md), GCRY_MD_MD5), gcry_md_get_algo_dlen(GCRY_MD_MD5))
-#endif
+#endif
/* set the following to the number of 100ns ticks of the actual
resolution of your system's clock */