diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-01-17 14:55:24 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-01-17 14:55:24 -0700 |
commit | c427ed678f39fd144d784f2e970bd8c52f425e14 (patch) | |
tree | 3d8b2d465438b6d9baa71786572992498047f727 | |
parent | 0de60208bf8eed94430fd00a4d2a7c9b1bc6b421 (diff) | |
download | liburing-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.h | 8 |
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> |