Am 16.04.2015 um 15:20 schrieb Paolo Bonzini: > > On 16/04/2015 14:58, Peter Lieven wrote: >>> On 16/04/2015 14:18, Peter Lieven wrote: >>>> We need this to support SCSI_STATUS_TASK_SET_FULL. >>> Any reason apart from the missing constant? >> No, but I wanted to avoid starting checking for constants that were >> added shortly after this. >> You can't check with #ifdef for a constant in an enum. > But you can #define it if libiscsi version is <1.10.
There is no macro to check for that. I took the easy way hardcoding the value. Its an official standard so there is no chance it will change. Peter