diff -aur occ6.2/ros/configure.in mod/ros/configure.in
--- occ6.2/ros/configure.in	2007-08-28 13:07:07.000000000 -0500
+++ mod/ros/configure.in	2007-08-29 14:54:32.207292566 -0500
@@ -629,6 +629,24 @@
 CXXFLAGS="$CXXFLAGS_save"
 ],[AC_MSG_WARN(No --with-stlport-library=DIR was specified)])
 
+
+# Test for 64-bit platforms
+AC_CHECK_HEADERS( [stdlib.h inttypes.h stdint.h] )
+AC_MSG_CHECKING([if platform is 64-bit])
+AC_TRY_COMPILE( 
+[#include <stdlib.h>
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+ #endif
+ #ifdef HAVE_STDINT_H
+ #include <stdint.h>
+ #endif
+], 
+[size_t j; 
+ uint64_t* i = &j;
+], [AC_MSG_RESULT([yes]); CPPFLAGS="$CPPFLAGS -D_OCC64"],
+   [AC_MSG_RESULT([no])] )
+
 AC_ENABLE_DEBUG(yes)
 AC_DISABLE_PRODUCTION
 
