From 22d3c79f9718dada0d8ef386a3a2cd2db31d7bc8 Mon Sep 17 00:00:00 2001 From: Kevin Brace Date: Mon, 17 Dec 2018 18:53:46 -0600 Subject: [PATCH] Convert EXA support preprocessor macro to USE_EXA All the other DDXs do it this way. Signed-off-by: Kevin Brace --- configure.ac | 2 +- src/sis.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d74e197..1caa528 100644 --- a/configure.ac +++ b/configure.ac @@ -121,7 +121,7 @@ AM_CONDITIONAL(XAA, test "x$XAA" = xyes) AC_MSG_RESULT([$XAA]) # technically this should be a configure flag. meh. -AC_DEFINE(XF86EXA, 1, [Build support for Exa]) +AC_DEFINE(USE_EXA, 1, [Build support for EXA]) SAVE_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $XORG_CFLAGS" diff --git a/src/sis.h b/src/sis.h index 2b764cb..b30f7a8 100644 --- a/src/sis.h +++ b/src/sis.h @@ -230,7 +230,7 @@ #ifdef SISVRAMQ #ifdef XORG_VERSION_CURRENT -#if defined(SIS_HAVE_EXA) || (defined(XF86EXA) && (XF86EXA != 0)) +#if defined(SIS_HAVE_EXA) || (defined(USE_EXA) && (USE_EXA != 0)) #if 1 #define SIS_USE_EXA /* Include code for EXA */ #endif