diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2013-07-19 13:43:30 -0700 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-21 04:06:21 +0200 |
| commit | bad93acfba492954543a293dbf87769a6953d630 (patch) | |
| tree | 4ac618d31e35401eb3380f0b180826193356f856 /qmake/generators/unix/unixmake.cpp | |
| parent | 2ff2a7c32d76b9e58b800f12469f112cfdb6ad3c (diff) | |
Fix compilation of QtTest on Linux systems with old kernel headers
Hardcode our perf_event_open(2) function to simply return -1 and set
errno to ENOSYS. This will disable the functionality.
People compiling Qt with such old headers will probably carry quite a
bit of dead code in QtTest. They should upgrade.
Task-number: QTBUG-32507
Change-Id: I774b4a81bee5c3e2ddc75fa52520d123a6bebed9
Reviewed-by: Jason McDonald <macadder1@gmail.com>
Diffstat (limited to 'qmake/generators/unix/unixmake.cpp')
0 files changed, 0 insertions, 0 deletions
