Revision 82889986 block-raw-posix.c

b/block-raw-posix.c
545 545

  
546 546
    qemu_aio_set_fd_handler(s->fd, posix_aio_read, NULL, posix_aio_flush, s);
547 547

  
548
#if defined(__GLIBC__) && defined(__linux__)
548
#if defined(__linux__) && defined(__GLIBC_PREREQ) && !__GLIBC_PREREQ(2, 4)
549 549
    {
550 550
        /* XXX: aio thread exit seems to hang on RedHat 9 and this init
551 551
           seems to fix the problem. */

Also available in: Unified diff