summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-12-17 18:53:46 -0600
committerKevin Brace <kevinbrace@gmx.com>2018-12-17 18:53:46 -0600
commit22d3c79f9718dada0d8ef386a3a2cd2db31d7bc8 (patch)
tree7e4bc1ad61f32fe001a52a29eb8941399644f87d
parent0baf5baf7ecb0197961c8ce92943fedba852e437 (diff)
Convert EXA support preprocessor macro to USE_EXA
All the other DDXs do it this way. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r--configure.ac2
-rw-r--r--src/sis.h2
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