src/benchmark.c mingw32 changes

Benjamin Lee benjamin.lee@aspectdata.com
Thu, 20 Mar 2003 22:29:35 +1100


--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On my mingw32 cross compilation setup, src/benchmark.c needs changes to use
something like GetTickCount() and DWORD variables instead of the Unix
struct tms and times() constructs.

Comments?

-- 
Benjamin Lee
Melbourne, Australia             "Always real."    http://realthought.net/

__________________________________________________________________________
Genderplex, n.:
	The predicament of a person in a restaurant who is unable to
	determine his or her designated restroom (e.g., turtles and tortoises).
		-- Rich Hall, "Sniglets"

--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="rnd-winiocth-inc.patch"

Index: cipher/rndw32.c
===================================================================
RCS file: /cvs/gnupg/libgcrypt/cipher/rndw32.c,v
retrieving revision 1.11
diff -u -r1.11 rndw32.c
--- cipher/rndw32.c	8 Jul 2002 00:31:21 -0000	1.11
+++ cipher/rndw32.c	20 Mar 2003 11:18:45 -0000
@@ -53,6 +53,7 @@
 #include <string.h>
 
 #include <windows.h>
+#include <winioctl.h>
 
 
 #include "types.h"

--7AUc2qLy4jB3hD7Z--