Commit Graph

9 Commits

Author SHA1 Message Date
Kurt H Maier
bd6f12068b fmt: adjust GCC version check
atomics were added in GCC 4.9:  https://gcc.gnu.org/gcc-4.9/changes.html
2020-05-08 10:36:29 -04:00
Russ Cox
c3c9c7b6ae fmt: disable use of stdatomic on AIX XL C and old GCC
C11 is apparently too new for these systems.

Fixes #55.
2020-05-07 20:17:53 -04:00
Russ Cox
9505cd15a6 lib9: make formatting lock-free again
First use of <stdatomic.h>.
We will see if any supported systems don't have it yet.
(C11 was so last decade.)

Fixes #338.
2020-01-14 18:04:00 -05:00
Russ Cox
7ba9f9467d lib9/fmt: avoid racy access to installed fmt formats 2020-01-13 11:42:24 -05:00
rsc
85231fd8cd fmt changes from Google 2006-05-21 20:49:16 +00:00
wkj
c90dd38f54 Formatting nits. 2004-12-29 01:27:57 +00:00
rsc
df121a0027 import changes from plan 9 2004-12-26 23:07:37 +00:00
rsc
e5aa96acbf clean up for unix port 2004-12-26 21:50:14 +00:00
rsc
91c13e54b5 Move utf, fmt. Small header file changes. 2004-02-29 22:11:15 +00:00