#61 wkcgi MacOS X Build Fix

closed-fixed
nobody
None
5
2003-10-23
2003-10-20
Anonymous
No

This fixes compiling on MacOS X 10.2.

Sorry attatching didn't work.

see http://blogs.23.nu/c0re/stories/1227/

--- WebKit/Adapters/common/wkcommon.h.orig Mon Oct 20
00:03:43 2003
+++ WebKit/Adapters/common/wkcommon.h Mon Oct 20
00:08:11 2003
@@ -17,6 +17,10 @@
#include <sys/socket.h>
#include <netdb.h>
#include <errno.h>
+#ifdef __MACH__ && __APPLE__
+#include <netinet/in.h>
+#include <nameser.h>
+#endif
#include <resolv.h>
#endif

Discussion

  • Jason Hildebrand

    Logged In: YES
    user_id=173690

    I just checked, and this fix has been in CVS for a few
    months. Is this sufficient, or were you hoping to have the
    0.8.x branch fixed as well?

     
  • Nobody/Anonymous

    Logged In: NO

    I think the Fix in CVS is sufficient. I was not aware of it.

     
  • Nobody/Anonymous

    Logged In: NO

    I notice that the patch in CVS only checks for __APPLE__. Since
    __APPLE__ might also be defined in MacOS X Apple suggests tu
    use #ifdef __MACH__ && __APPLE__ to detect MacOS X. I suggest
    to change the #ifdef in the current CVS to match Apples
    recommendation.

     
  • Jason Hildebrand

    • status: open --> closed-fixed
     
  • Jason Hildebrand

    Logged In: YES
    user_id=173690

    Ok, I've added the __MACH__ check in CVS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks