projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
crypto/x509/x509_vpm.c: Simplify int_x509_param_set1()
[openssl.git]
/
e_os.h
diff --git
a/e_os.h
b/e_os.h
index 83b024add013bc973b317df01d77a2cbf12ab9e5..4951335635866dfd5849c1ca9991db6492b8baa1 100644
(file)
--- a/
e_os.h
+++ b/
e_os.h
@@
-469,12
+469,17
@@
struct servent *PASCAL getservbyname(const char *, const char *);
# if defined(OPENSSL_SYS_WINDOWS)
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
# if defined(OPENSSL_SYS_WINDOWS)
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
-# elif defined(OPENSSL_SYS_VMS)
-/* VMS below version 7.0 doesn't have strcasecmp() */
-# include "internal/o_str.h"
-# define strcasecmp OPENSSL_strcasecmp
-# define strncasecmp OPENSSL_strncasecmp
-# define OPENSSL_IMPLEMENTS_strncasecmp
+# if (_MSC_VER >= 1310)
+# define open _open
+# define fdopen _fdopen
+# define close _close
+# ifndef strdup
+# define strdup _strdup
+# endif
+# define unlink _unlink
+# endif
+# else
+# include <strings.h>
# endif
/* vxworks */
# endif
/* vxworks */
@@
-504,13
+509,6
@@
struct servent *getservbyname(const char *name, const char *proto);
# endif
/* end vxworks */
# endif
/* end vxworks */
-/* haiku */
-# if defined(OPENSSL_SYS_HAIKU)
-# include <sys/select.h>
-# include <sys/time.h>
-# endif
-/* end haiku */
-
#define OSSL_NELEM(x) (sizeof(x)/sizeof(x[0]))
#ifdef __cplusplus
#define OSSL_NELEM(x) (sizeof(x)/sizeof(x[0]))
#ifdef __cplusplus