diff options
author | miod <> | 2014-04-28 21:14:50 +0000 |
---|---|---|
committer | miod <> | 2014-04-28 21:14:50 +0000 |
commit | 5c80b04ad533e531e552e7e775b6df48dd1fcecc (patch) | |
tree | c38bc7b3eb96fe7a9e0e0ce7390f75e6feb8fc91 /src/lib/libcrypto/des/enc_writ.c | |
parent | 491ced77fa72fcec5b39051ff934a325810e0dd9 (diff) | |
download | openbsd-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/des/enc_writ.c')
-rw-r--r-- | src/lib/libcrypto/des/enc_writ.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/des/enc_writ.c b/src/lib/libcrypto/des/enc_writ.c index 8f6b033c87..18562310ee 100644 --- a/src/lib/libcrypto/des/enc_writ.c +++ b/src/lib/libcrypto/des/enc_writ.c | |||
@@ -156,11 +156,7 @@ int DES_enc_write(int fd, const void *_buf, int len, | |||
156 | { | 156 | { |
157 | /* eay 26/08/92 I was not doing writing from where we | 157 | /* eay 26/08/92 I was not doing writing from where we |
158 | * got up to. */ | 158 | * got up to. */ |
159 | #ifndef _WIN32 | ||
160 | i=write(fd,(void *)&(outbuf[j]),outnum-j); | 159 | i=write(fd,(void *)&(outbuf[j]),outnum-j); |
161 | #else | ||
162 | i=_write(fd,(void *)&(outbuf[j]),outnum-j); | ||
163 | #endif | ||
164 | if (i == -1) | 160 | if (i == -1) |
165 | { | 161 | { |
166 | #ifdef EINTR | 162 | #ifdef EINTR |