[PATCH v2 17/42] XFree86: sdksyms: Remove unused -DXorgLoader

Daniel Stone daniel at fooishbar.org
Fri Dec 2 03:27:25 PST 2011

We no longer have anything in the tree that checks for XorgLoader.  This
was a fairly monumental hack: xvdi.h used to hide all its functions
behind #ifndef XorgLoader, solely to avoid sdksyms.sh picking up its
symbols, as it was previously a module rather than built-in.

This is no longer the case, so we can remove the define.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>

v2: Split out from Xv patch.

 hw/xfree86/sdksyms.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh
index b8563ee..38115ba 100755
--- a/hw/xfree86/sdksyms.sh
+++ b/hw/xfree86/sdksyms.sh
@@ -321,7 +321,7 @@ topdir=$1
 export LC_ALL
-${CPP:-cpp} "$@" -DXorgLoader sdksyms.c | ${AWK:-awk} -v topdir=$topdir '
+${CPP:-cpp} "$@" sdksyms.c | ${AWK:-awk} -v topdir=$topdir '
     sdk = 0;

More information about the xorg-devel mailing list