summaryrefslogtreecommitdiff
path: root/dbm
diff options
context:
space:
mode:
authormkaply%us.ibm.com <devnull@localhost>2003-09-15 21:47:16 +0000
committermkaply%us.ibm.com <devnull@localhost>2003-09-15 21:47:16 +0000
commitc5aebe7795608812151420a42aaf5d91764690fe (patch)
tree17d09afb50afbb68efc36560c325ff31f7df9ffb /dbm
parent521e5e682f617164832718454e6987916cebf6a4 (diff)
downloadnss-hg-c5aebe7795608812151420a42aaf5d91764690fe.tar.gz
#215581
r=mkaply, sr=blizzard (platform specific) Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes Also remove some VACPP references
Diffstat (limited to 'dbm')
-rw-r--r--dbm/include/mcom_db.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/dbm/include/mcom_db.h b/dbm/include/mcom_db.h
index 43d21ad9c..97e74260e 100644
--- a/dbm/include/mcom_db.h
+++ b/dbm/include/mcom_db.h
@@ -190,7 +190,7 @@
#define LITTLE_ENDIAN 1234
#endif
-#if defined(_WINDOWS) || defined(XP_OS2)
+#if defined(_WINDOWS)
#ifdef BYTE_ORDER
#undef BYTE_ORDER
#endif
@@ -222,14 +222,6 @@
#define MAXPATHLEN 1024
#endif
-#ifdef XP_OS2_VACPP
-#include <os2.h>
-#define MAXPATHLEN CCHMAXPATH
-#define EPERM EINVAL
-#define ENOTDIR EBADPOS
-#define S_ISDIR(s) ((s) & S_IFDIR)
-#endif
-
#define EFTYPE EINVAL /* POSIX 1003.1 format errno. */
#ifndef STDERR_FILENO
@@ -253,7 +245,7 @@ int mkstemp(const char *path);
PR_END_EXTERN_C
#endif /* MACINTOSH */
-#if !defined(_WINDOWS) && !defined(macintosh) && !defined(XP_OS2)
+#if !defined(_WINDOWS) && !defined(macintosh)
#include <sys/stat.h>
#include <errno.h>
#endif