Source-Changes-HG archive

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

src: sun2 does not have stdatomic.h



details:   https://anonhg.NetBSD.org/src/rev/656632042f4a
branches:  trunk
changeset: 317994:656632042f4a
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 df4aba013b10 -r 656632042f4a 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