aboutsummaryrefslogtreecommitdiff
path: root/accel/accel.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2019-04-22 18:04:47 -0300
committerThomas Huth <thuth@redhat.com>2019-05-02 16:56:33 +0200
commita08052bc248632f8c16ef0c5b93e0611543e89cc (patch)
treea2ed5414c8c870cb3eb93f6d4a53a8e247866877 /accel/accel.c
parent3fe13fe16e2147ccbab037ace60e2bd3831094fd (diff)
qtest: Don't compile qtest accel on non-POSIX systems
qtest_available() will always return 0 on non-POSIX systems. It's simpler to just not compile the accelerator code on those systems instead of relying on the AccelClass::available function. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20190422210448.2488-3-ehabkost@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> [on mingw64] Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'accel/accel.c')
0 files changed, 0 insertions, 0 deletions