aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/libadt
diff options
context:
space:
mode:
authorxlu <none@none>2008-12-24 19:13:53 -0800
committerxlu <none@none>2008-12-24 19:13:53 -0800
commitb8b9ab4db85249abf6b7c88c8979e5b45fae99ee (patch)
tree4e04ab6f7a795ca58ab5bba56776ab201bf704a6 /src/share/vm/libadt
parentf2dea2dc175f07192bd3c594ed9e6fbe55fe198a (diff)
downloadjdk8u_hotspot-b8b9ab4db85249abf6b7c88c8979e5b45fae99ee.tar.gz
6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
Summary: Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2 Reviewed-by: jcoomes, acorn, phh, never
Diffstat (limited to 'src/share/vm/libadt')
-rw-r--r--src/share/vm/libadt/port.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/share/vm/libadt/port.hpp b/src/share/vm/libadt/port.hpp
index 70034d09b..68a84f1a4 100644
--- a/src/share/vm/libadt/port.hpp
+++ b/src/share/vm/libadt/port.hpp
@@ -34,17 +34,6 @@
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
-#undef bzero
-inline void bzero(void *b, int len) { memset(b,0,len); }
-#undef bcopy
-inline void bcopy(const void *s, void *d, size_t len) { memmove(d,s,len); }
-#undef bcmp
-inline int bcmp(const void *s,const void *t,int len) { return memcmp(s,t,len);}
-extern "C" unsigned long strtoul(const char *s, char **end, int base);
-
-// Definition for sys_errlist varies from Sun 4.1 & Solaris.
-// We use the new Solaris definition.
-#include <string.h>
// Access to the C++ class virtual function pointer
// Put the class in the macro