summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-12 15:46:20 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:51:53 +0100
commit516e10a9956d11346cdddceee7203ef7e6181dc0 (patch)
tree3bf553d17736770fe4109fd393c958dd6629af2b /plan9
parent6e876d890f021fe5f975eed6716986552e849b66 (diff)
downloadperl-516e10a9956d11346cdddceee7203ef7e6181dc0.tar.gz
Assume C89 "volatile" keyword
The Configure changes here were generated using a version of metaconfig that makes U/perl/perlxv.U assume that the keyword exists, and prevents U/modified/d_volatile.U from promising to define a "volatile" keyword; otherwise, those units would bring in the relevant Configure probe anyway.
Diffstat (limited to 'plan9')
-rw-r--r--plan9/config.plan99
-rw-r--r--plan9/config_h.sample9
-rw-r--r--plan9/config_sh.sample1
3 files changed, 0 insertions, 19 deletions
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index 4a2a305f75..1afcbaf1ea 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -607,15 +607,6 @@
*/
/*#define HAS_USLEEP / **/
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile /* config-skip */
-#endif
-
/* HAS_WAIT4:
* This symbol, if defined, indicates that wait4() exists.
*/
diff --git a/plan9/config_h.sample b/plan9/config_h.sample
index 6e76bddca7..766426e1ec 100644
--- a/plan9/config_h.sample
+++ b/plan9/config_h.sample
@@ -565,15 +565,6 @@
*/
/*#define HAS_USLEEP / **/
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* HAS_WAIT4:
* This symbol, if defined, indicates that wait4() exists.
*/
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index 6315595cc0..f35bb1fea6 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -623,7 +623,6 @@ d_vfork='undef'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
d_vprintf='define'
d_vsnprintf='undef'
d_wait4='undef'