summaryrefslogtreecommitdiff
path: root/x2p/a2p.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-01-13 02:46:53 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-01-13 02:46:53 +0000
commitd07c2202867c84a305417e42e522ca39d055c62a (patch)
tree61abe56eb09e388c565e410cebc8a0d7778ffd11 /x2p/a2p.h
parent2fd1c6b8c969281de42d3830c930f0cea98c16de (diff)
downloadperl-d07c2202867c84a305417e42e522ca39d055c62a.tar.gz
[win32] various tweaks to build support (NOTE: meant for 5.004_57)
- build and install x2p - fix installperl warnings on win32 - `make install` now does puts the archlibs in right places - makefiles don't default to USE_THREADS anymore - sync config.{b,g,v}c - sync makefile.mk -> Makefile p4raw-id: //depot/win32/perl@416
Diffstat (limited to 'x2p/a2p.h')
-rw-r--r--x2p/a2p.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/x2p/a2p.h b/x2p/a2p.h
index 085935d98f..a7cbcb68b3 100644
--- a/x2p/a2p.h
+++ b/x2p/a2p.h
@@ -9,12 +9,37 @@
*/
#define VOIDUSED 1
+
+#ifdef WIN32
+#define _INC_WIN32_PERL5 /* kludge around win32 stdio layer */
+#endif
+
#ifdef VMS
# include "config.h"
#else
# include "../config.h"
#endif
+#ifdef WIN32
+#undef USE_STDIO_PTR /* XXX fast gets won't work, must investigate */
+# 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
+
#if defined(__STDC__) || defined(vax11c) || defined(_AIX) || defined(__stdc__) || defined(__cplusplus)
# define STANDARD_C 1
#endif