Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common Check t...



details:   https://anonhg.NetBSD.org/src/rev/8d1c84a0b759
branches:  trunk
changeset: 347907:8d1c84a0b759
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 21 21:30:56 2016 +0000

description:
Check the NetBSD version

diffstat:

 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 28f75c21107c -r 8d1c84a0b759 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h    Wed Sep 21 21:07:29 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h    Wed Sep 21 21:30:56 2016 +0000
@@ -338,9 +338,11 @@
 # endif
     void *ifa_dstaddr; // (struct sockaddr *)
     void *ifa_data;
-#ifdef __NetBSD__
+# ifdef __NetBSD__
+#  if __NetBSD_Prereq__(7, 99, 39)
     unsigned int ifa_addrflags;
-#endif
+#  endif
+# endif
   };
 #endif  // !SANITIZER_ANDROID
 



Home | Main Index | Thread Index | Old Index