diff options
Diffstat (limited to 'render/vulkan')
-rw-r--r-- | render/vulkan/renderer.c | 1 | ||||
-rw-r--r-- | render/vulkan/texture.c | 1 | ||||
-rw-r--r-- | render/vulkan/vulkan.c | 4 |
3 files changed, 2 insertions, 4 deletions
diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index 05486a0f..d433f495 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <assert.h> #include <fcntl.h> #include <math.h> diff --git a/render/vulkan/texture.c b/render/vulkan/texture.c index a3fede04..51372b5f 100644 --- a/render/vulkan/texture.c +++ b/render/vulkan/texture.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <assert.h> #include <drm_fourcc.h> #include <fcntl.h> diff --git a/render/vulkan/vulkan.c b/render/vulkan/vulkan.c index 8e9d9288..54bfa77a 100644 --- a/render/vulkan/vulkan.c +++ b/render/vulkan/vulkan.c @@ -1,5 +1,5 @@ -#if !defined(__FreeBSD__) -#define _POSIX_C_SOURCE 200809L +#if defined(__FreeBSD__) +#undef _POSIX_C_SOURCE #endif #include <assert.h> #include <fcntl.h> |