summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-10-07 16:34:59 +0200
committerAndy Polyakov <appro@openssl.org>2007-10-07 16:34:59 +0200
commitb7cc9dffacab3c9abb0acd059df72a2136e0eda0 (patch)
treef26399a3b69da1cba6be735ec384f4a0eb88ff54 /e_os.h
parentMake it possible to link VC static lib with either /MT or /MD application. (diff)
downloadopenssl-b7cc9dffacab3c9abb0acd059df72a2136e0eda0.tar.xz
openssl-b7cc9dffacab3c9abb0acd059df72a2136e0eda0.zip
Addendum to commit #16651.
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/e_os.h b/e_os.h
index a969479ae9..04bff2af14 100644
--- a/e_os.h
+++ b/e_os.h
@@ -293,6 +293,14 @@ static unsigned int _strlen31(const char *str)
}
# endif
# include <malloc.h>
+# if defined(_MSC_VER) && _MSC_VER<=1200 && defined(_MT) && defined(isspace)
+ /* compensate for bug is VC6 ctype.h */
+# undef isspace
+# undef isdigit
+# undef isalnum
+# undef isupper
+# undef isxdigit
+# endif
# endif
# include <io.h>
# include <fcntl.h>