diff options
author | Craig A. Berry <craigberry@mac.com> | 2016-10-21 13:32:16 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2016-10-21 13:32:16 -0500 |
commit | 70febf4f73d876d70fee0ce4d0da225a627c692b (patch) | |
tree | c0f524d9d0c4b3d1f44ee480313d86a021ce85a4 | |
parent | 935d7564086945ecacb50f63ddaaf34a4394d0c9 (diff) | |
download | perl-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.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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. |