summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cast
diff options
context:
space:
mode:
authormiod <>2014-04-28 21:14:50 +0000
committermiod <>2014-04-28 21:14:50 +0000
commit5c80b04ad533e531e552e7e775b6df48dd1fcecc (patch)
treec38bc7b3eb96fe7a9e0e0ce7390f75e6feb8fc91 /src/lib/libcrypto/cast
parent491ced77fa72fcec5b39051ff934a325810e0dd9 (diff)
downloadopenbsd-5c80b04ad533e531e552e7e775b6df48dd1fcecc.tar.gz
openbsd-5c80b04ad533e531e552e7e775b6df48dd1fcecc.tar.bz2
openbsd-5c80b04ad533e531e552e7e775b6df48dd1fcecc.zip
Remove WIN32, WIN64 and MINGW32 tentacles.
Also check for _LP64 rather than __arch64__ (the former being more reliable than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit int platforms. Loosely based upon a diff from Martijn van Duren on tech@
Diffstat (limited to 'src/lib/libcrypto/cast')
-rw-r--r--src/lib/libcrypto/cast/cast_lcl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/libcrypto/cast/cast_lcl.h b/src/lib/libcrypto/cast/cast_lcl.h
index ec14804fbb..61facd09d8 100644
--- a/src/lib/libcrypto/cast/cast_lcl.h
+++ b/src/lib/libcrypto/cast/cast_lcl.h
@@ -56,11 +56,6 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#ifdef OPENSSL_SYS_WIN32
60#include <stdlib.h>
61#endif
62
63
64#undef c2l 59#undef c2l
65#define c2l(c,l) (l =((unsigned long)(*((c)++))) , \ 60#define c2l(c,l) (l =((unsigned long)(*((c)++))) , \
66 l|=((unsigned long)(*((c)++)))<< 8L, \ 61 l|=((unsigned long)(*((c)++)))<< 8L, \