Differences From Artifact [5ea0cd3af5]:
- File src/once.h — part of check-in [c26426e80f] at 2019-08-01 21:05:49 on branch trunk — Add missing extern "C" (user: js, size: 1089) [annotate] [blame] [check-ins using]
To Artifact [61d24c33d5]:
- File src/once.h — part of check-in [c2bde5d283] at 2019-08-01 21:20:03 on branch trunk — Add of_once() for AmigaOS (user: js, size: 1112) [annotate] [blame] [check-ins using]
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | #if defined(OF_HAVE_PTHREADS) # include <pthread.h> typedef pthread_once_t of_once_t; # define OF_ONCE_INIT PTHREAD_ONCE_INIT #elif defined(OF_HAVE_ATOMIC_OPS) typedef volatile int of_once_t; # define OF_ONCE_INIT 0 |
︙ |