Skip to content

Commit

Permalink
move xcb 1.5 compile check from qpa/xcb-syslibs to qpa/xcb
Browse files Browse the repository at this point in the history
the test should be executed in every case. configure's use of pkg-config
implies that intention.

Change-Id: I722c88da5c2a0f2cc1f926d796093b78cd79bea8
Reviewed-by: Gatis Paeglis <[email protected]>
  • Loading branch information
ossilator committed Jun 3, 2016
1 parent 3726aed commit 2f68d08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config.tests/qpa/xcb-syslibs/xcb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,5 @@ int main(int, char **)

xcb_connection_t *connection = xcb_connect("", &primaryScreen);

// This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY.
int xcbAtomPrimary = XCB_ATOM_PRIMARY;

return 0;
}
4 changes: 4 additions & 0 deletions config.tests/qpa/xcb/xcb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,9 @@ int main(int, char **)
{
int primaryScreen = 0;
xcb_connection_t *t = xcb_connect("", &primaryScreen);

// This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY.
int xcbAtomPrimary = XCB_ATOM_PRIMARY;

return 0;
}

0 comments on commit 2f68d08

Please sign in to comment.