summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-23 18:53:46 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-23 18:53:46 +0000
commit7eb475e53a0bbe900c452e6eeec6cc0b4e8e1df7 (patch)
tree9ed632b812cc1ce84ee803b2b85f78b8f2b5b6f5 /plan9
parent1651bed00c5cc4b949ecf1bd50f6b15954723f61 (diff)
downloadperl-7eb475e53a0bbe900c452e6eeec6cc0b4e8e1df7.tar.gz
Introduce 'fast stdio' symbols to non-Configure lands.
p4raw-id: //depot/perl@19314
Diffstat (limited to 'plan9')
-rw-r--r--plan9/config.plan915
-rw-r--r--plan9/config_h.sample15
-rw-r--r--plan9/config_sh.sample2
3 files changed, 32 insertions, 0 deletions
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index 87a50e4213..ee9a9aa8c7 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -1378,6 +1378,12 @@
*/
/*#define HAS_ENDSERVENT / **/
+/* HAS_FAST_STDIO:
+ * This symbol, if defined, indicates that the "fast stdio"
+ * is available to manipulate the stdio buffers directly.
+ */
+/*#define HAS_FAST_STDIO /**/
+
/* HAS_FCHDIR:
* This symbol, if defined, indicates that the fchdir routine is
* available to change directory using a file descriptor.
@@ -3585,6 +3591,15 @@
/*#define USE_64_BIT_ALL / **/
#endif
+/* USE_FAST_STDIO:
+ * This symbol, if defined, indicates that Perl should
+ * be built to use 'fast stdio'.
+ * Defaults to define in Perls 5.8 and earlier, to undef later.
+ */
+#ifndef USE_FAST_STDIO
+/*#define USE_FAST_STDIO / **/
+#endif
+
/* USE_LARGE_FILES:
* This symbol, if defined, indicates that large file support
* should be used when available.
diff --git a/plan9/config_h.sample b/plan9/config_h.sample
index 0710d351ad..8740853a48 100644
--- a/plan9/config_h.sample
+++ b/plan9/config_h.sample
@@ -1325,6 +1325,12 @@
*/
/*#define HAS_ENDSERVENT / **/
+/* HAS_FAST_STDIO:
+ * This symbol, if defined, indicates that the "fast stdio"
+ * is available to manipulate the stdio buffers directly.
+ */
+/*#define HAS_FAST_STDIO /**/
+
/* HAS_FCHDIR:
* This symbol, if defined, indicates that the fchdir routine is
* available to change directory using a file descriptor.
@@ -3530,6 +3536,15 @@
/*#define USE_64_BIT_ALL / **/
#endif
+/* USE_FAST_STDIO:
+ * This symbol, if defined, indicates that Perl should
+ * be built to use 'fast stdio'.
+ * Defaults to define in Perls 5.8 and earlier, to undef later.
+ */
+#ifndef USE_FAST_STDIO
+/*#define USE_FAST_STDIO / **/
+#endif
+
/* USE_LARGE_FILES:
* This symbol, if defined, indicates that large file support
* should be used when available.
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index ebaaf980ec..2b5abec488 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -162,6 +162,7 @@ d_endsent='undef'
d_endservent_r='undef'
d_eofnblk='define'
d_eunice='undef'
+d_faststdio='undef'
d_fchdir='undef'
d_fchmod='define'
d_fchown='undef'
@@ -923,6 +924,7 @@ use64bitall='undef'
use64bitint='undef'
usecrosscompile='undef'
usedl='undef'
+usefaststdio='undef'
useithreads='undef'
uselargefiles='define'
uselongdouble='undef'