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ifndef __POWERPC__
#define SHA_XARRAY
#endif
......@@ -183,7 +183,7 @@ unsigned long CRYPTO_thread_id(void)
ret=(unsigned long)GetCurrentTask();
#elif defined(WIN32)
ret=(unsigned long)GetCurrentThreadId();
#elif defined(MSDOS)
#elif defined(GETPID_IS_MEANINGLESS)
ret=1L;
#else
ret=(unsigned long)getpid();
......
......@@ -183,11 +183,10 @@
# define ROTATE(a,n) _lrotl(a,n)
# elif defined(__MWERKS__)
# ifdef __POWERPC__
# defined ROTATE(a,n) __rlwinm(a,n,0,31)
# define ROTATE(a,n) __rlwinm(a,n,0,31)
# else
# define ROTATE(a,n) __rol(a,n)
# endif
B
# elif defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM)
/*
* Some GNU C inline assembler templates. Note that these are
......
......@@ -93,7 +93,7 @@ static void (*free_func)(void *) = free;
static void (*realloc_debug_func)()= NULL;
static void (*free_debug_func)()= NULL;
static void (*set_debug_options_func)()= NULL;
static int (*get_debug_options_func)()= NULL;
static long (*get_debug_options_func)()= NULL;
#endif
......
......@@ -251,7 +251,11 @@ extern "C" {
# endif
# else
/* !defined VMS */
# ifdef OPENSSL_UNISTD
# include OPENSLL_UNISTD
# else
# include <unistd.h>
# endif
# ifndef NO_SYS_TYPES_H
# include <sys/types.h>
# endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册