Patch: compiling under Mac OS X
Michael Abd-El-Malek <[email protected]> Sat, 7 May 2005 15:12:40 -0400
| Newsgroups | gmane.comp.lib.state-threads.devel |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-1--252992741 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hello, To compile ST under Mac OS X (Tiger), I needed to make a small change to get some header file correctly included. Here's the patch. Cheers, Mike --Apple-Mail-1--252992741 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="st-darwin-patch.diff" Content-Disposition: attachment; filename=st-darwin-patch.diff --- ../st-1.5.1.bak/examples/res.c 2000-06-14 18:20:20.000000000 -0400 +++ examples/res.c 2005-05-07 15:06:40.000000000 -0400 @@ -59,6 +59,10 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#if defined (DARWIN) +#define BIND_8_COMPAT +#endif + #include <stdio.h> #include <string.h> #include <unistd.h> --Apple-Mail-1--252992741-- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20