[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH] win32: Avoid compiler warning (WIN32_LEAN_A
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] Re: [PATCH] win32: Avoid compiler warning (WIN32_LEAN_AND_MEAN redefined) |
Date: |
Mon, 10 May 2010 04:20:14 -0400 (EDT) |
> 3. Change the definition of WIN32_LEAN_AND_MEAN in configure/make.
>
> Solution 3 is a very simple change. It works for the moment,
> but would raise warnings when a library header file with a
> different definition of WIN32_LEAN_AND_MEAN is used.
> When I scanned the system headers of my mingw32
> installation, I saw these two variants:
> #define WIN32_LEAN_AND_MEAN
> #define WIN32_LEAN_AND_MEAN 1
Same here.
> So I still think my patch is the best solution.
I agree. Let's report a bug to SDL as well.
Paolo