summaryrefslogtreecommitdiff
path: root/libc/upstream-netbsd/android/include/netbsd-compat.h
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2021-04-25 19:53:00 +0000
committerScott Lobdell <slobdell@google.com>2021-04-25 19:53:00 +0000
commitdfa7c0a9b59c4ef591f46f7624dfe687c2bb0a6c (patch)
tree4b78af6f79fb9de2a712ac6268059bf838000a40 /libc/upstream-netbsd/android/include/netbsd-compat.h
parent987dccb5f063052171fae7a59cbf9fca808f8f80 (diff)
parent4626df89bfb561fc06d805e04d040a15f378919f (diff)
Merge SP1A.210425.001
Change-Id: If71c56f3e2e9fbbeffc7096a560a5ef8b8cd8566
Diffstat (limited to 'libc/upstream-netbsd/android/include/netbsd-compat.h')
-rw-r--r--libc/upstream-netbsd/android/include/netbsd-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/upstream-netbsd/android/include/netbsd-compat.h b/libc/upstream-netbsd/android/include/netbsd-compat.h
index ea630b273..5dd086e41 100644
--- a/libc/upstream-netbsd/android/include/netbsd-compat.h
+++ b/libc/upstream-netbsd/android/include/netbsd-compat.h
@@ -17,7 +17,7 @@
#pragma once
#define _BSD_SOURCE
-#define _GNU_SOURCE
+#define _GNU_SOURCE 1
// NetBSD uses _DIAGASSERT to null-check arguments and the like,
// but it's clear from the number of mistakes in their assertions