From 93136d17f9881a8e1aebaec99f2febb8e56aefa3 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 26 Dec 2010 10:30:12 -0700 Subject: op_reg_common.h: Add guard to only expand once This is in preparation for adding some in-line functions. --- op_reg_common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'op_reg_common.h') 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 */ -- cgit v1.2.1