From: Karl Williamson Date: Sun, 26 Dec 2010 17:30:12 +0000 (-0700) Subject: op_reg_common.h: Add guard to only expand once X-Git-Tag: v5.13.9~163 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/93136d17f9881a8e1aebaec99f2febb8e56aefa3 op_reg_common.h: Add guard to only expand once This is in preparation for adding some in-line functions. --- diff --git a/op_reg_common.h b/op_reg_common.h index 5b49ec7..238d7bd 100644 --- a/op_reg_common.h +++ b/op_reg_common.h @@ -19,6 +19,8 @@ * and memory. I (khw) think the code will work if changed back, but haven't * tested it */ /* Make sure to update lib/re.pm when changing this! */ +#ifndef RXf_PMf_STD_PMMOD_SHIFT /* Only expand #include of this file once */ + #define RXf_PMf_STD_PMMOD_SHIFT 0 /* The bits need to be ordered so that the msix are contiguous starting at bit @@ -63,3 +65,5 @@ & (~((1 << RXf_PMf_STD_PMMOD_SHIFT)-1))) # error RXf_PMf_COMPILETIME is invalid #endif + +#endif /* Include only once */