qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH] allow usage of older libusb which didn't defi


From: Peter Maydell
Subject: Re: [Qemu-trivial] [PATCH] allow usage of older libusb which didn't define LIBUSB_LOG_LEVEL_WARNING
Date: Thu, 18 Apr 2013 12:24:05 +0100

On 18 April 2013 12:17, Michael Tokarev <address@hidden> wrote:
> +#ifndef LIBUSB_LOG_LEVEL_WARNING /* older libusb didn't define these */
> +#define LIBUSB_LOG_LEVEL_WARNING 2
> +#endif

By the way, where these are provided by the header, they're
provided as an enum, not #defined constants. So we'll always
#define the define (which will work, but I don't know if you
did this deliberately).

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]