diff --git a/src/conf.h b/src/conf.h index 24416ee3..8c2d6a74 100644 --- a/src/conf.h +++ b/src/conf.h @@ -415,6 +415,7 @@ typedef RETSIGTYPE (SIGTYPEENTRY *sig_type)(int); #define ALIGN_DOWN(a,b) (((a) / (b)) * (b)) #define ALIGN_UP(a,b) ALIGN_DOWN((a) + ((b) - 1), b) +#define ALIGN_GAP(a,b) (ALIGN_UP(a,b) - (a)) #define UPX_MAX(a,b) ((a) >= (b) ? (a) : (b)) #define UPX_MIN(a,b) ((a) <= (b) ? (a) : (b))