[Mesa-dev] [PATCH v2] Rename the DEBUG macro to MESA_DEBUG
Vedran Miletić
vedran at miletic.net
Mon Sep 19 18:39:14 UTC 2016
On 09/07/2016 06:52 PM, Vedran Miletić wrote:
> LLVM and Mesa both define the DEBUG macro in incompatible ways. As a
> general practice, we should avoid using such generic names when it is
> possible to do so.
>
> This patch renames all occurrences of the DEBUG macro to MESA_DEBUG,
> and removes workarounds previously used to enable building Mesa with
> LLVM (pop_macro() and push_macro() function calls).
>
> v2:
> * Rename remaining occurences found by git grep '\<DEBUG\>'
> * Use /* !MESA_DEBUG */ with #else instead of /* MESA_DEBUG */
>
> Signed-off-by: Vedran Miletić <vedran at miletic.net>
> Acked-by: Christian König <christian.koenig at amd.com>
> ---
Anyone?
Regards,
Vedran
--
Vedran Miletić
vedran.miletic.net
More information about the mesa-dev
mailing list