diff options
Diffstat (limited to 'libinstaller/syslxint.h')
-rw-r--r-- | libinstaller/syslxint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libinstaller/syslxint.h b/libinstaller/syslxint.h index 3cecf3c0..39098def 100644 --- a/libinstaller/syslxint.h +++ b/libinstaller/syslxint.h @@ -138,5 +138,7 @@ struct boot_sector { #define bsHead bsJump #define bsHeadLen offsetof(struct boot_sector, bsJump) #define bsCode bs32.Code /* The common safe choice */ +#define bsCodeLen (offsetof(struct boot_sector, bsSignature) - \ + offsetof(struct boot_sector, bsCode)) #endif /* SYSLXINT_H */ |