diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1269,10 +1269,12 @@ static void *rpmRunTransactions_callback(__attribute__((unused)) const void *h, callback = td->callback_error; callback_type = "error"; break; +#ifdef RPM4_13_0 case RPMCALLBACK_ELEM_PROGRESS: callback = td->callback_elem; callback_type = "elem"; break; +#endif default: break; } @@ -1304,9 +1306,11 @@ static void *rpmRunTransactions_callback(__attribute__((unused)) const void *h, case RPMCALLBACK_CPIO_ERROR: callback_subtype = "cpio"; break; +#ifdef RPM4_13_0 case RPMCALLBACK_ELEM_PROGRESS: callback_subtype = "progress"; break; +#endif case RPMCALLBACK_SCRIPT_ERROR: callback_subtype = "script"; break; |