Disable memory reservation code on FreeBSD, where it just doesn't
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Thu, 4 Nov 2004 04:52:48 +0000 (04:52 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Nov 2004 04:52:48 +0000 (04:52 +0000)
work.

libs/wine/mmap.c

index 0ad8237454483482d5c61445b6407c6f8c000a14..6107fb089c03dcb3b3296761fac917a30d776812 100644 (file)
@@ -253,7 +253,7 @@ void mmap_init(void)
 {
     struct reserved_area *area;
     struct list *ptr;
-#ifdef __i386__
+#if defined(__i386__) && !defined(__FreeBSD__)  /* commented out until FreeBSD gets fixed */
     char stack;
     char * const stack_ptr = &stack;
     char *user_space_limit = (char *)0x80000000;