aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-17 14:55:24 -0700
committerJens Axboe <axboe@kernel.dk>2024-01-17 14:55:24 -0700
commitc427ed678f39fd144d784f2e970bd8c52f425e14 (patch)
tree3d8b2d465438b6d9baa71786572992498047f727
parent0de60208bf8eed94430fd00a4d2a7c9b1bc6b421 (diff)
downloadliburing-c427ed678f39fd144d784f2e970bd8c52f425e14.tar.gz
liburing.h: get rid of _GNU_SOURCE and XOPEN_SOURCE defines
These really should be set at compile time, if needed, rather than be hardcoded in the liburing.h main header. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--src/include/liburing.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/liburing.h b/src/include/liburing.h
index b3f82302..d651ade7 100644
--- a/src/include/liburing.h
+++ b/src/include/liburing.h
@@ -2,14 +2,6 @@
#ifndef LIB_URING_H
#define LIB_URING_H
-#ifndef _XOPEN_SOURCE
-#define _XOPEN_SOURCE 500 /* Required for glibc to expose sigset_t */
-#endif
-
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE /* Required for musl to expose cpu_set_t */
-#endif
-
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/uio.h>