[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] patches for darwin?
From: |
Tom Musgrove |
Subject: |
[Qemu-devel] patches for darwin? |
Date: |
Fri, 14 Nov 2003 07:06:31 +0000 |
How do you want patches made for darwin?
Ie Darwin places many of the include files in different paths than are used
in the current files,
instead of <getopt.h> use <usr/include/getopt.h>
instead of <linux/if.h> use <net/if.h>
instead of <linux/if_tun.h> use <net/if_tun.h>
instead of <malloc.h> use <sys/malloc.h>
instead of <fcntl.h> use <sys/fcntl.h>
So, do you want something like
if test "$targetos" = "Darwin" ; then
echo "#undef HAVE_BYTESWAP_H" >> $config_h
echo "#define DARWIN_SYSTEM = 1" >> $config_h
...
in configure and then in the file using the header
#ifdef DARWIN_SYSTEM
#include <sys/malloc.h>
#else
#include <malloc.h>
#endif
Or is there some other way that would be preferable?
Thanks,
Tom M.
_________________________________________________________________
Is your computer infected with a virus? Find out with a FREE computer virus
scan from McAfee. Take the FreeScan now!
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] patches for darwin?,
Tom Musgrove <=