Author: sir_richard
Date: Mon Jun 7 02:58:55 2010
New Revision: 47648
URL:
http://svn.reactos.org/svn/reactos?rev=47648&view=rev
Log:
[DHCP/FTP]: Fix building on OS X hosts.
Modified:
trunk/reactos/base/applications/network/ftp/ftp.rbuild
trunk/reactos/dll/win32/dhcpcsvc/dhcpcsvc.rbuild
Modified: trunk/reactos/base/applications/network/ftp/ftp.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ftp/ftp.rbuild [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/ftp/ftp.rbuild [iso-8859-1] Mon Jun 7
02:58:55 2010
@@ -3,6 +3,17 @@
<module name="ftp" type="win32cui"
installbase="system32" installname="ftp.exe">
<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>
Modified: trunk/reactos/dll/win32/dhcpcsvc/dhcpcsvc.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dhcpcsvc/dhcpcsv…
==============================================================================
--- trunk/reactos/dll/win32/dhcpcsvc/dhcpcsvc.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dhcpcsvc/dhcpcsvc.rbuild [iso-8859-1] Mon Jun 7 02:58:55
2010
@@ -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>