Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/include sun2 does not have stdatomic.h
details:   https://anonhg.NetBSD.org/src/rev/0b7058f6eb52
branches:  trunk
changeset: 321911:0b7058f6eb52
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 09 19:33:14 2018 +0000
description:
sun2 does not have stdatomic.h
diffstat:
 external/bsd/ntp/include/config.h |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 484b9923ccca -r 0b7058f6eb52 external/bsd/ntp/include/config.h
--- a/external/bsd/ntp/include/config.h Mon Apr 09 19:11:55 2018 +0000
+++ b/external/bsd/ntp/include/config.h Mon Apr 09 19:33:14 2018 +0000
@@ -839,8 +839,11 @@
 /* Define to 1 if you have the <stdarg.h> header file. */
 #define HAVE_STDARG_H 1
 
+/* sun2 does not have atomics */
+#ifndef __mc68010__
 /* Define to 1 if you have the <stdatomic.h> header file. */
 #define HAVE_STDATOMIC_H 1
+#endif
 
 /* Define to 1 if stdbool.h conforms to C99. */
 #define HAVE_STDBOOL_H 1
Home |
Main Index |
Thread Index |
Old Index