summaryrefslogtreecommitdiff
path: root/gtk/abicheck.sh
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-11-29 12:47:44 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-11-29 12:47:44 -0500
commit670dfdb7cc4491421da597b5c4df50bca1fc369c (patch)
treee350e52643e4f5a6485f174fcb6ed5906e89ae98 /gtk/abicheck.sh
parent6b5221380eab5de62165a6a1dd8ae5e3e05162cd (diff)
downloadgtk+-670dfdb7cc4491421da597b5c4df50bca1fc369c.tar.gz
Re-add some conditionals to symbols files
We need to keep the ifdefs for platform abi differences.
Diffstat (limited to 'gtk/abicheck.sh')
-rwxr-xr-xgtk/abicheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/abicheck.sh b/gtk/abicheck.sh
index a48597c178..e818a64fe4 100755
--- a/gtk/abicheck.sh
+++ b/gtk/abicheck.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-cpp -P -DG_OS_UNIX -DGTK_WINDOWING_X11 ${srcdir:-.}/gtk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
+cpp -P -DG_OS_UNIX -DGDK_WINDOWING_X11 ${srcdir:-.}/gtk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
nm -D -g --defined-only .libs/libgtk-x11-3.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi