IP6 and MacOS X



Apple's Mac OS X predefines a macro named SIN6_LEN... However this macro appears to be nothing. I was wondering if i wouldnt be too much trouble to add the following to your gnome-vfs-address.c file so i would not have to add it next time?

(im using todays CVS)

Line 55, libgnomevfs/gnome-vfs-address.c :

#ifdef SIN6_LEN && __APPLE__
# undef SIN6_LEN
#endif

# define SIN6_LEN     sizeof (struct sockaddr_in6)

Thanks

---
Glenn R. Martin

C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. -- Bjarne Stroustrup




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]