mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 02:30:44 -04:00
- Build fixes after GCC 4.2 import. - Remove SIGRTMIN and SIGRTMAX redefinitions. - Use posix_memalign(3) instead of valloc(3). Approved by: glewis (maintainer)
14 lines
438 B
C++
14 lines
438 B
C++
--- ../../j2se/src/share/native/com/sun/java/util/jar/pack/main.cpp.orig Tue Oct 19 14:59:48 2004
|
|
+++ ../../j2se/src/share/native/com/sun/java/util/jar/pack/main.cpp Thu May 24 18:46:10 2007
|
|
@@ -17,7 +17,11 @@
|
|
|
|
#if defined(unix) && !defined(PRODUCT)
|
|
#include "pthread.h"
|
|
+#if defined(_ALLBSD_SOURCE)
|
|
+#define THREAD_SELF ((jlong)pthread_self())
|
|
+#else
|
|
#define THREAD_SELF ((int)pthread_self())
|
|
+#endif
|
|
#endif
|
|
|
|
#include "defines.h"
|