summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-05-29 12:31:35 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-29 12:31:35 +0000
commit9c75282ff8f4361bf940245aa2513c77d38c5f5c (patch)
treefc774c2bd11820f2fd7785d4d47458935326ee98 /os2
parent078900430dcf1054fbc0b052469de14a2dd168d4 (diff)
downloadperl-9c75282ff8f4361bf940245aa2513c77d38c5f5c.tar.gz
OS/2: more missing definitions.
p4raw-id: //depot/perl@16856
Diffstat (limited to 'os2')
-rw-r--r--os2/os2ish.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os2/os2ish.h b/os2/os2ish.h
index 96c0273a72..a60e573262 100644
--- a/os2/os2ish.h
+++ b/os2/os2ish.h
@@ -374,6 +374,14 @@ void *emx_realloc (void *, size_t);
#define PERLIO_IS_BINMODE_FD(fd) _PERLIO_IS_BINMODE_FD(fd)
+#ifdef __GNUG__
+# define HAS_BOOL
+#endif
+#ifndef HAS_BOOL
+# define bool char
+# define HAS_BOOL 1
+#endif
+
static inline bool
_PERLIO_IS_BINMODE_FD(int fd)
{