summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-09-27 07:34:49 +0000
committerRichard Levitte <levitte@openssl.org>2003-09-27 07:34:49 +0000
commitf6b659cba4bab69cd36cdc492f2bdab2d848d819 (patch)
tree7c9aba37846368f81fdd7b1fd52597321452c93a
parent6bd27f8644e401301e3a843d92876e74ed6cb0ea (diff)
Add necessary changes to be able to build on VxWorks for PPC860.
Contributed by Bob Bradley <bob@chaoticsoftware.com>
-rwxr-xr-xConfigure1
-rw-r--r--e_os.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/Configure b/Configure
index a88c0cb6a9..a41c43124a 100755
--- a/Configure
+++ b/Configure
@@ -560,6 +560,7 @@ my %table=(
"vxworks-ppc405","ccppc:-g -msoft-float -mlongcall -DCPU=PPC405 -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::",
"vxworks-ppc750","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h \$(DEBUG_FLAG):::VXWORKS:-r:::::",
"vxworks-ppc750-debug","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DDEBUG -g:::VXWORKS:-r:::::",
+"vxworks-ppc860","ccppc:-g -msoft-float -DCPU=PPC860 -DNO_STRINGS_H -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::",
##### Compaq Non-Stop Kernel (Tandem)
"tandem-c89","c89:-Ww -D__TANDEM -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN::(unknown):::THIRTY_TWO_BIT:::",
diff --git a/e_os.h b/e_os.h
index 3f7cdf4b51..aad0a7eaeb 100644
--- a/e_os.h
+++ b/e_os.h
@@ -541,7 +541,7 @@ extern char *sys_errlist[]; extern int sys_nerr;
#if defined(ioctlsocket)
#undef ioctlsocket
#endif
-#define ioctlsocket(a,b,c) ioctl((a),(b),*(c))
+#define ioctlsocket(a,b,c) ioctl((a),(b),*(int*)(c))
#include <vxWorks.h>
#include <sockLib.h>