summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2005-10-31 19:27:49 -0800
committerSteve Peters <steve@fisharerojo.org>2005-11-04 15:10:44 +0000
commit20fac488e1792684d006c2bb2c54d6cebc9696c0 (patch)
treeb5e775e86d93e2388338f106225fb7046623721c /mathoms.c
parentc9f7ac20cc60b6edea0f8aa7d2d3184bb6978820 (diff)
downloadperl-20fac488e1792684d006c2bb2c54d6cebc9696c0.tar.gz
Re: Configure -Dno_mathoms
Message-ID: <lrslug7glm.fsf@caliper.activestate.com> p4raw-id: //depot/perl@25991
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index bc355e9842..0f82677fb2 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -14,6 +14,8 @@
* hand to hand were of that sort."
*/
+#ifndef NO_MATHOMS
+
/*
* This file contains mathoms, various binary artifacts from previous
* versions of Perl. For binary or source compatibility reasons, though,
@@ -27,6 +29,8 @@
#define PERL_IN_MATHOMS_C
#include "perl.h"
+void Perl_mathoms() {}
+
/* ref() is now a macro using Perl_doref;
* this version provided for binary compatibility only.
*/
@@ -1030,6 +1034,8 @@ Perl_sv_nounlocking(pTHX_ SV *sv)
PERL_UNUSED_ARG(sv);
}
+#endif /* NO_MATHOMS */
+
/*
* Local variables:
* c-indentation-style: bsd