summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-05-01 13:48:12 +0100
committerEmil Velikov <[email protected]>2016-05-23 12:09:11 +0100
commit960d854a9866be4e335dd20465342026f660fc78 (patch)
treef9d5e52d9851646cc05ed57efcfe1ea66bab8f91 /src/intel/vulkan
parent1b64d1247d233dd649eb18ac22222b6e2273099a (diff)
anv: remove define _DEFAULT_SOURCE
The build systems already add this as applicable. There's no need to have this in the source file. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_allocator.c2
-rw-r--r--src/intel/vulkan/anv_gem.c2
-rw-r--r--src/intel/vulkan/anv_gem_stubs.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c
index e3b07ffa8bb..088b461b993 100644
--- a/src/intel/vulkan/anv_allocator.c
+++ b/src/intel/vulkan/anv_allocator.c
@@ -21,8 +21,6 @@
* IN THE SOFTWARE.
*/
-#define _DEFAULT_SOURCE
-
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/intel/vulkan/anv_gem.c b/src/intel/vulkan/anv_gem.c
index a886f7c2cb0..e65468954a2 100644
--- a/src/intel/vulkan/anv_gem.c
+++ b/src/intel/vulkan/anv_gem.c
@@ -21,8 +21,6 @@
* IN THE SOFTWARE.
*/
-#define _DEFAULT_SOURCE
-
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <string.h>
diff --git a/src/intel/vulkan/anv_gem_stubs.c b/src/intel/vulkan/anv_gem_stubs.c
index 3204fefb28e..30b40ce323a 100644
--- a/src/intel/vulkan/anv_gem_stubs.c
+++ b/src/intel/vulkan/anv_gem_stubs.c
@@ -21,8 +21,6 @@
* IN THE SOFTWARE.
*/
-#define _DEFAULT_SOURCE
-
#include <linux/memfd.h>
#include <sys/mman.h>
#include <sys/syscall.h>