diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-06 18:30:20 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-06 18:45:48 (GMT) |
commit | 338fe3c15e90d62606806b0845bb621dd05153ae (patch) | |
tree | 60bb6d291d56883d5ba6c2059594f251a2c9db0b /config.tests/x11 | |
parent | 0d92333ec537821876f2d3365e3c1780cfb3c2ea (diff) | |
download | Qt-338fe3c15e90d62606806b0845bb621dd05153ae.zip Qt-338fe3c15e90d62606806b0845bb621dd05153ae.tar.gz Qt-338fe3c15e90d62606806b0845bb621dd05153ae.tar.bz2 |
Improved xsync feature testing.
Make sure we actually call any XSync function to test if those functions
are available on the platform. On HPUX there is something wrong since
X11 header files contain required function declarations, however we
cannot link to them.
Reviewed-by: Andreas
Diffstat (limited to 'config.tests/x11')
-rw-r--r-- | config.tests/x11/xsync/xsync.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config.tests/x11/xsync/xsync.cpp b/config.tests/x11/xsync/xsync.cpp index a7175de..ed3ecf5 100644 --- a/config.tests/x11/xsync/xsync.cpp +++ b/config.tests/x11/xsync/xsync.cpp @@ -48,5 +48,7 @@ int main(int, char **) XSyncValue value; (void*)&XSyncIntToValue; (void*)&XSyncCreateCounter; - return 0; + int a, b; + Status ret = XSyncInitialize(NULL, &a, &b); + return ret; } |