source: trunk/config.tests/x11/xcursor/xcursor.cpp@ 5

Last change on this file since 5 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 498 bytes
Line 
1#include <X11/Xlib.h>
2#include <X11/Xcursor/Xcursor.h>
3
4#if !defined(XCURSOR_LIB_MAJOR)
5# define XCURSOR_LIB_MAJOR XCURSOR_MAJOR
6#endif
7#if !defined(XCURSOR_LIB_MINOR)
8# define XCURSOR_LIB_MINOR XCURSOR_MINOR
9#endif
10
11#if XCURSOR_LIB_MAJOR == 1 && XCURSOR_LIB_MINOR >= 0
12# define XCURSOR_FOUND
13#else
14# define
15# error "Required Xcursor version 1.0 not found."
16#endif
17
18int main(int, char **)
19{
20 XcursorImage *image;
21 image = 0;
22 XcursorCursors *cursors;
23 cursors = 0;
24 return 0;
25}
Note: See TracBrowser for help on using the repository browser.