X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/a117c06f5ee62cbe7812769703eada01843f76ca..a105615f5d265ce97ba853fdfbf040db8007d413:/base/asm-common.h diff --git a/base/asm-common.h b/base/asm-common.h index d6a8b012..4fe72431 100644 --- a/base/asm-common.h +++ b/base/asm-common.h @@ -24,6 +24,9 @@ /// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, /// MA 02111-1307, USA. +#ifndef CATACOMB_ASM_COMMON_H +#define CATACOMB_ASM_COMMON_H + ///-------------------------------------------------------------------------- /// General definitions. @@ -255,10 +258,10 @@ name: # define _DECOR_abcd_q(reg) r##reg##x #endif -#define _DECOR_xp_b(reg) reg##l #define _DECOR_xp_w(reg) reg #define _DECOR_xp_d(reg) e##reg #if CPUFAM_AMD64 +# define _DECOR_xp_b(reg) reg##l # define _DECOR_xp_q(reg) r##reg #endif @@ -1181,3 +1184,5 @@ name: #endif ///----- That's all, folks -------------------------------------------------- + +#endif