Mac OS X problem with native/target/generic/target_generic_network.h

Chris Burdess <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
At lines 62-65 of native/target/generic/target_generic_network.h 
(sablevm-classpath-1.1.7), the following lines

#ifdef __APPLE__
typedef unsigned int socklen_t;
#endif /* __APPLE__ */

cause the following error during build:

error: previous declaration of 'socklen_t' was here

If I comment out these lines everything works fine (thanks gadek!).

This is on the powerpc-apple-darwin7.6.0 platform.
-- 
Chris Burdess
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.