freebsd-ports/lang/mlton/files/patch-runtime-mingw.h
Stefan Walter 776ae1fb28 This patch adds three features to the lang/mlton port:
* Support for FreeBSD 6.x
* Support for compilation with SML/NJ
* Cross-compilation with mingw32

PR:		124061
Submitted by:	Timothy Bourke <timbob@bigpond.com>
Approved by:	maintainer
2008-12-10 08:44:24 +00:00

20 lines
663 B
C

--- runtime/platform/mingw.h.orig 2008-04-27 10:54:07.000000000 +1000
+++ runtime/platform/mingw.h 2008-04-27 10:54:19.000000000 +1000
@@ -85,17 +85,6 @@
#define SHUT_RDWR SD_BOTH
/* ------------------------------------------------- */
-/* Date */
-/* ------------------------------------------------- */
-
-struct timezone {
- int tz_dsttime;
- int tz_minuteswest;
-};
-
-int gettimeofday (struct timeval *tv, struct timezone *tz);
-
-/* ------------------------------------------------- */
/* MLton.Itimer */
/* ------------------------------------------------- */