diff options
author | Corinna Vinschen <vinschen@redhat.com> | 2016-01-16 19:30:48 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-01-18 16:16:00 +0100 |
commit | 8d35ceb98f3dbd55cf55edc3d2a814d0dd6d520d (patch) | |
tree | b434ee6f20661c4b02ed0760400fcd4dda70c3d5 /apps/speed.c | |
parent | 23d526eca9251618b3f0d81c4a2ad6d4f25d7563 (diff) | |
download | openssl-8d35ceb98f3dbd55cf55edc3d2a814d0dd6d520d.tar.gz |
Use POSIX functions on Cygwin, not Win32 function
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/speed.c b/apps/speed.c index d45a6f9beb..5bf1685e49 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -94,16 +94,8 @@ # include <signal.h> #endif -#if defined(_WIN32) || defined(__CYGWIN__) +#if defined(_WIN32) # include <windows.h> -# if defined(__CYGWIN__) && !defined(_WIN32) - /* - * <windows.h> should define _WIN32, which normally is mutually exclusive - * with __CYGWIN__, but if it didn't... - */ -# define _WIN32 - /* this is done because Cygwin alarm() fails sometimes. */ -# endif #endif #include <openssl/bn.h> |