diff options
author | Ulf Möller <ulf@openssl.org> | 1999-06-04 13:41:30 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-06-04 13:41:30 +0000 |
commit | 1e44804e3308e9a40b882e09e87d0f241b7d55ca (patch) | |
tree | b05b52d062914f829cbddce4bf6d3f81d6cf83c4 | |
parent | eaeb1870d4ef887a89f0bcec6b5ee1ec7fafa00f (diff) | |
download | openssl-1e44804e3308e9a40b882e09e87d0f241b7d55ca.tar.gz |
Avoid type conflict on Unix with DEC C.
Pointed out by Sergio Rabellino <Rabellino@di.unito.it>
-rw-r--r-- | apps/s_client.c | 2 | ||||
-rw-r--r-- | apps/s_server.c | 2 | ||||
-rw-r--r-- | apps/s_socket.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 1fa157573a..81617afb2a 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -60,7 +60,7 @@ recursive header file inclusion, resulting in the compiler complaining that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which is needed to have fileno() declared correctly... So let's define u_int */ -#if defined(__DECC) && !defined(__U_INT) +#if defined(VMS) && defined(__DECC) && !defined(__U_INT) #define __U_INT typedef unsigned int u_int; #endif diff --git a/apps/s_server.c b/apps/s_server.c index 2341949517..0a25d8cb03 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -60,7 +60,7 @@ recursive header file inclusion, resulting in the compiler complaining that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which is needed to have fileno() declared correctly... So let's define u_int */ -#if defined(__DECC) && !defined(__U_INT) +#if defined(VMS) && defined(__DECC) && !defined(__U_INT) #define __U_INT typedef unsigned int u_int; #endif diff --git a/apps/s_socket.c b/apps/s_socket.c index 99a94633aa..6302f9f934 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -60,7 +60,7 @@ recursive header file inclusion, resulting in the compiler complaining that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which is needed to have fileno() declared correctly... So let's define u_int */ -#if defined(__DECC) && !defined(__U_INT) +#if defined(VMS) && defined(__DECC) && !defined(__U_INT) #define __U_INT typedef unsigned int u_int; #endif |