FALSE undefined in port.c

François Gouget fgouget at codeweavers.com
Wed Oct 31 21:45:07 CST 2001


Changelog:

   François Gouget <fgouget at codeweavers.com>

 * library/port.c
   FALSE is not defined on Solaris


-- 
François Gouget
fgouget at codeweavers.com
-------------- next part --------------
Index: library/port.c
===================================================================
RCS file: /home/wine/wine/library/port.c,v
retrieving revision 1.17
diff -u -r1.17 port.c
--- library/port.c	2001/10/14 16:25:47	1.17
+++ library/port.c	2001/10/31 23:14:57
@@ -426,11 +427,11 @@
        and MAP_FIXED isn't already specified. */
 
     if ( !addr )
-        return FALSE;
+        return 0;
     if ( (uintptr_t)addr & (pagesize-1) )
-        return FALSE;
+        return 0;
     if ( flags & MAP_FIXED )
-        return FALSE;
+        return 0;
 
     /* We use vfork() to freeze all threads of the
        current process.  This allows us to check without


More information about the wine-patches mailing list