Skip to content

Commit

Permalink
#215581
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mkaply%us.ibm.com committed Sep 15, 2003
1 parent e7cf23f commit 5be4eeb
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions dbm/include/mcom_db.h
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5be4eeb

Please sign in to comment.