summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/perl.h b/perl.h
index f61ff9bda0..5d19c639d3 100644
--- a/perl.h
+++ b/perl.h
@@ -285,11 +285,11 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER));
#define DOSISH 1
#endif
-#if defined(__STDC__) || defined(vax11c) || defined(_AIX) || defined(__stdc__) || defined(__cplusplus)
+#if defined(__STDC__) || defined(vax11c) || defined(_AIX) || defined(__stdc__) || defined(__cplusplus) || defined( EPOC)
# define STANDARD_C 1
#endif
-#if defined(__cplusplus) || defined(WIN32) || defined(__sgi) || defined(OS2) || defined(__DGUX)
+#if defined(__cplusplus) || defined(WIN32) || defined(__sgi) || defined(OS2) || defined(__DGUX) || defined( EPOC)
# define DONT_DECLARE_STD 1
#endif
@@ -1386,7 +1386,11 @@ typedef union any ANY;
# if defined(__VOS__)
# include "vosish.h"
# else
-# include "unixish.h"
+# if defined(EPOC)
+# include "epocish.h"
+# else
+# include "unixish.h"
+# endif
# endif
# endif
# endif
@@ -1875,7 +1879,9 @@ char *crypt (const char*, const char*);
# ifndef getenv
char *getenv (const char*);
# endif /* !getenv */
+#ifndef EPOC
Off_t lseek (int,Off_t,int);
+#endif
# endif /* !DONT_DECLARE_STD */
char *getlogin (void);
#endif /* !__cplusplus */
@@ -1971,7 +1977,7 @@ EXT char *** environ_pointer;
# if !defined(DONT_DECLARE_STD) || \
(defined(__svr4__) && defined(__GNUC__) && defined(sun)) || \
defined(__sgi) || \
- defined(__DGUX)
+ defined(__DGUX) || defined(EPOC)
extern char ** environ; /* environment variables supplied via exec */
# endif
# endif