summaryrefslogtreecommitdiff
path: root/x2p
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2011-09-10 17:21:58 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2011-09-10 18:16:59 +0100
commit378eeda70cc27194f0f718b4c65b8ba147259910 (patch)
tree26c3c6b5adb9c5027a78c6143cdced30ce57a9d4 /x2p
parent528bd3ce854c33aaf668dd3aa007a60a4994edac (diff)
downloadperl-378eeda70cc27194f0f718b4c65b8ba147259910.tar.gz
The Borland Chainsaw Massacre
Remove support for the Borland C++ compiler on Win32, as agreed here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2011-09/msg00034.html
Diffstat (limited to 'x2p')
-rw-r--r--x2p/a2p.c2
-rw-r--r--x2p/a2p.h13
2 files changed, 1 insertions, 14 deletions
diff --git a/x2p/a2p.c b/x2p/a2p.c
index 4186cdf19b..1a7a77851e 100644
--- a/x2p/a2p.c
+++ b/x2p/a2p.c
@@ -2181,7 +2181,7 @@ int yyparse (void);
#define YYERROR goto yyerrlab
#if YYDEBUG
-# if defined(WIN32) && !defined(__BORLANDC__)
+# if defined(WIN32)
EXTERN_C _CRTIMP char *getenv(const char *);
# else
EXTERN_C char *getenv(const char *);
diff --git a/x2p/a2p.h b/x2p/a2p.h
index 3a01df5856..af3c6e3349 100644
--- a/x2p/a2p.h
+++ b/x2p/a2p.h
@@ -30,19 +30,6 @@
# ifndef STANDARD_C
# define STANDARD_C
# endif
-# if defined(__BORLANDC__)
-# pragma warn -ccc
-# pragma warn -rch
-# pragma warn -sig
-# pragma warn -pia
-# pragma warn -par
-# pragma warn -aus
-# pragma warn -use
-# pragma warn -csu
-# pragma warn -pro
-# elif defined(_MSC_VER)
-# elif defined(__MINGW32__)
-# endif
#endif
/* Use all the "standard" definitions? */