[DHCP/FTP]: Fix building on OS X hosts.
authorSir Richard <sir_richard@svn.reactos.org>
Mon, 7 Jun 2010 00:58:55 +0000 (00:58 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Mon, 7 Jun 2010 00:58:55 +0000 (00:58 +0000)
svn path=/trunk/; revision=47648

reactos/base/applications/network/ftp/ftp.rbuild
reactos/dll/win32/dhcpcsvc/dhcpcsvc.rbuild

index fce0585..60f7ea5 100644 (file)
@@ -4,6 +4,17 @@
        <include base="ftp">.</include>
        <define name="lint" />
 
+       <!-- FIXME: workarounds until we have a proper oldnames library -->
+       <define name="chdir">_chdir</define>
+       <define name="getcwd">_getcwd</define>
+       <define name="mktemp">_mktemp</define>
+       <define name="unlink">_unlink</define>
+       <define name="close">_close</define>
+       <define name="fileno">_fileno</define>
+       <define name="read">_read</define>
+       <define name="write">_write</define>
+       <define name="lseek">_lseek</define>
+
        <library>ws2_32</library>
        <library>iphlpapi</library>
        <library>oldnames</library>
index 773c295..7afd68b 100644 (file)
@@ -7,6 +7,10 @@
        <library>iphlpapi</library>
        <library>advapi32</library>
        <library>oldnames</library>
+       
+       <!-- FIXME: workarounds until we have a proper oldnames library -->
+    <define name="tzset">_tzset</define>
+    
        <directory name="dhcp">
                <file>adapter.c</file>
                <file>alloc.c</file>