engines/libaio: the IOCTX_FLAG_* flags changed
[fio.git] / engines / libaio.c
index 991d588d2c8afda0de24c1f5ef475c67a57c68d3..07fbe351754b883f27b3cb4829db6f846f7942cd 100644 (file)
 #ifndef IOCB_FLAG_HIPRI
 #define IOCB_FLAG_HIPRI        (1 << 2)
 #endif
-#ifndef IOCTX_FLAG_IOPOLL
-#define IOCTX_FLAG_IOPOLL      (1 << 0)
-#endif
+
 #ifndef IOCTX_FLAG_USERIOCB
-#define IOCTX_FLAG_USERIOCB    (1 << 1)
+#define IOCTX_FLAG_USERIOCB    (1 << 0)
+#endif
+#ifndef IOCTX_FLAG_IOPOLL
+#define IOCTX_FLAG_IOPOLL      (1 << 1)
 #endif
-
 
 static int fio_libaio_commit(struct thread_data *td);