PatchSet 7759 Date: 2008/02/16 17:20:07 Author: robilad Branch: HEAD Tag: (none) Log: cleaned up config hacks
008-02-16 Dalibor Topic <[EMAIL PROTECTED]> * config/config-hacks.h (HAVE_UNALIGNEDACCESS, MSG_PEEK) (HAVE_DYN_UNDERSTORE, DEFAULT_LIBRARYPATH): Removed unused definitions. Members: ChangeLog:1.5259->1.5260 config/config-hacks.h:1.19->1.20 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.5259 kaffe/ChangeLog:1.5260 --- kaffe/ChangeLog:1.5259 Sat Feb 16 17:11:39 2008 +++ kaffe/ChangeLog Sat Feb 16 17:20:07 2008 @@ -1,5 +1,10 @@ 2008-02-16 Dalibor Topic <[EMAIL PROTECTED]> + * config/config-hacks.h (HAVE_UNALIGNEDACCESS, MSG_PEEK) + (HAVE_DYN_UNDERSTORE, DEFAULT_LIBRARYPATH): Removed unused definitions. + +2008-02-16 Dalibor Topic <[EMAIL PROTECTED]> + * kaffe/kaffevm/constants.c (readConstantPool): Use check_if_need_to_switch_words_in_jdouble instead of checking if DOUBLE_ORDER_OPPOSITE is defined. Index: kaffe/config/config-hacks.h diff -u kaffe/config/config-hacks.h:1.19 kaffe/config/config-hacks.h:1.20 --- kaffe/config/config-hacks.h:1.19 Sat Feb 16 17:11:41 2008 +++ kaffe/config/config-hacks.h Sat Feb 16 17:20:09 2008 @@ -13,15 +13,9 @@ /* Hacks to configure NeXT */ #if defined(NeXT) #undef HAVE_SYS_UTSNAME_H -#define HAVE_DYN_UNDERSTORE 1 #undef HAVE_SBRK #endif -/* Hack to configure AmigaOS */ -#if defined(__amigaos__) -#define HAVE_DYN_UNDERSTORE 1 -#endif - /* Hack for Windows */ #if defined(__WIN32__) || defined(WIN32) || defined(_WIN32) #undef __WIN32__ @@ -38,31 +32,9 @@ #endif #endif -/* Hack for NetBSD */ -#if defined(__NetBSD__) -#define HAVE_DYN_UNDERSTORE 1 -#define DEFAULT_LIBRARYPATH "/usr/local/lib:/usr/lib" -#endif - /* Hack to configure AIX */ #if defined(_AIX) #define HAVE_SYS_SELECT_H 1 -#endif - -/* Hack to configure BeOS R4 */ -#if defined(__BEOS__) -#include <socket.h> -#if defined(MSG_PEEK) -#error Looks like BeOS finally supports MSG_PEEK. -#error Please remove the MSG_PEEK hack in config-hacks.h and syscalls.c. -#else -#define MSG_PEEK 0x2 -#endif -#endif - -/* The 386 can do unaligned memory accesses */ -#if defined(__i386__) -#define HAVE_UNALIGNEDACCESS #endif /* _______________________________________________ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe