summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2016-10-21 13:32:16 -0500
committerCraig A. Berry <craigberry@mac.com>2016-10-21 13:32:16 -0500
commit70febf4f73d876d70fee0ce4d0da225a627c692b (patch)
treec0f524d9d0c4b3d1f44ee480313d86a021ce85a4
parent935d7564086945ecacb50f63ddaaf34a4394d0c9 (diff)
downloadperl-70febf4f73d876d70fee0ce4d0da225a627c692b.tar.gz
Move _pDEPTH and _aDEPTH after config.h.
Otherwise DEBUGGING may not be defined yet (at least it isn't on VMS).
-rw-r--r--perl.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/perl.h b/perl.h
index d27a131e30..88d4207721 100644
--- a/perl.h
+++ b/perl.h
@@ -11,16 +11,6 @@
#ifndef H_PERL
#define H_PERL 1
-/* this is used for functions which take a depth trailing
- * argument under debugging */
-#ifdef DEBUGGING
-#define _pDEPTH ,U32 depth
-#define _aDEPTH ,depth
-#else
-#define _pDEPTH
-#define _aDEPTH
-#endif
-
#ifdef PERL_FOR_X2P
/*
* This file is being used for x2p stuff.
@@ -38,6 +28,16 @@
# include "config.h"
#endif
+/* this is used for functions which take a depth trailing
+ * argument under debugging */
+#ifdef DEBUGGING
+#define _pDEPTH ,U32 depth
+#define _aDEPTH ,depth
+#else
+#define _pDEPTH
+#define _aDEPTH
+#endif
+
/* NOTE 1: that with gcc -std=c89 the __STDC_VERSION__ is *not* defined
* because the __STDC_VERSION__ became a thing only with C90. Therefore,
* with gcc, HAS_C99 will never become true as long as we use -std=c89.