diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-12-26 10:30:12 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-16 16:36:43 -0700 |
commit | 93136d17f9881a8e1aebaec99f2febb8e56aefa3 (patch) | |
tree | 0ef8ef3a66ae7fd8256da449053b2c252abeeac0 /op_reg_common.h | |
parent | 596403393d484d37d763f5a7290dfa2ff3092da0 (diff) | |
download | perl-93136d17f9881a8e1aebaec99f2febb8e56aefa3.tar.gz |
op_reg_common.h: Add guard to only expand once
This is in preparation for adding some in-line functions.
Diffstat (limited to 'op_reg_common.h')
-rw-r--r-- | op_reg_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/op_reg_common.h b/op_reg_common.h index 5b49ec769a..238d7bdb0e 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 */ |