[Mono-dev] Win32 build errors (recent change)

Rob Wilkens robwilkens at gmail.com
Sat Jun 16 00:26:30 UTC 2012


This is an untested patch, my windows installation is slow as crap, i'm
working on it, but let me know what you think of the attached patch...

I noticed ChangeLog had the following in it:

2008-04-29  Kornél Pál  <kornelpal at gmail.com>

        * configure.in: Check for sys/utime.h.
        * winconfig.h: Define HAVE_SYS_UTIME_H, undef HAVE_UTIME_H.

--

And I figured making similar changes for sys/time.h in configure.in and
HAVE_SYS_TIME.H in winconfig.h made sense.

-Rob


On 06/15/2012 08:00 PM, Steven Boswell II wrote:
> FYI, Rob, it's probably best to use "git diff".  That produces a patch
> file suitable for use with "git apply".
>
> ------------------------------------------------------------------------
> *From:* Rob Wilkens <robwilkens at gmail.com>
> *To:* Jonathan Chambers <joncham at gmail.com>
> *Cc:* "mono-devel-list at lists.ximian.com"
> <mono-devel-list at lists.ximian.com>
> *Sent:* Friday, June 15, 2012 2:47 PM
> *Subject:* Re: [Mono-dev] Win32 build errors (recent change)
>
> [... i'm not entirely sure of the patch creation process other than
> 'diff -urp' i think to create them, then patch -p1 (or similar) to
> apply them. ...]
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120615/c7b7cc56/attachment.html>
-------------- next part --------------
diff --git a/configure.in b/configure.in
index ce18864..5d0bbea 100644
--- a/configure.in
+++ b/configure.in
@@ -418,7 +418,7 @@ AM_ICONV()
 
 AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
 
-AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h sys/utime.h semaphore.h sys/un.h linux/rtc.h sys/syscall.h sys/mkdev.h sys/uio.h sys/param.h libproc.h)
+AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h sys/utime.h semaphore.h sys/un.h linux/rtc.h sys/syscall.h sys/mkdev.h sys/uio.h sys/param.h libproc.h sys/time.h)
 AC_CHECK_HEADERS(sys/param.h sys/socket.h sys/ipc.h sys/sem.h sys/utsname.h alloca.h ucontext.h pwd.h sys/select.h netinet/tcp.h netinet/in.h unistd.h sys/types.h link.h asm/sigcontext.h sys/inotify.h)
 AC_CHECK_HEADERS([linux/netlink.h linux/rtnetlink.h],
                   [], [], [#include <stddef.h>
diff --git a/winconfig.h b/winconfig.h
index dd3d69b..a5713dd 100644
--- a/winconfig.h
+++ b/winconfig.h
@@ -455,7 +455,7 @@
 /* #undef HAVE_SYS_SYSCALL_H */
 
 /* Define to 1 if you have the <sys/time.h> header file. */
-/* #undef HAVE_SYS_TIME_H */
+#define HAVE_SYS_TIME_H 1
 
 /* Define to 1 if you have the <sys/types.h> header file. */
 #define HAVE_SYS_TYPES_H 1


More information about the Mono-devel-list mailing list