ObjFW  Check-in [4a6d9cd210]

Overview
Comment:atomic.h: Don't use assembly implementation on AIX

The assembler on AIX is too limited.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4a6d9cd21077a0b162b92306d688b4b403e7f642211c5687d771b79523bc986c
User & Date: js on 2019-01-27 16:13:12
Other Links: manifest | tags
Context
2019-01-27
16:20
Work around buggy thread_local on AIX check-in: d0f3116147 user: js tags: trunk
16:13
atomic.h: Don't use assembly implementation on AIX check-in: 4a6d9cd210 user: js tags: trunk
16:07
platform.h: Add AIX check-in: 9d134295b5 user: js tags: trunk
Changes

Modified src/atomic.h from [eb0ca3c5ef] to [e53591a99c].

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# error No atomic operations available!
#endif

#if !defined(OF_HAVE_THREADS)
# import "atomic_no_threads.h"
#elif defined(OF_X86_64_ASM) || defined(OF_X86_ASM)
# import "atomic_x86.h"
#elif defined(OF_POWERPC_ASM) && !defined(__APPLE_CC__)
# import "atomic_powerpc.h"
#elif defined(OF_HAVE_ATOMIC_BUILTINS)
# import "atomic_builtins.h"
#elif defined(OF_HAVE_SYNC_BUILTINS)
# import "atomic_sync_builtins.h"
#elif defined(OF_HAVE_OSATOMIC)
# import "atomic_osatomic.h"
#else
# error No atomic operations available!
#endif







|










23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# error No atomic operations available!
#endif

#if !defined(OF_HAVE_THREADS)
# import "atomic_no_threads.h"
#elif defined(OF_X86_64_ASM) || defined(OF_X86_ASM)
# import "atomic_x86.h"
#elif defined(OF_POWERPC_ASM) && !defined(__APPLE_CC__) && !defined(OF_AIX)
# import "atomic_powerpc.h"
#elif defined(OF_HAVE_ATOMIC_BUILTINS)
# import "atomic_builtins.h"
#elif defined(OF_HAVE_SYNC_BUILTINS)
# import "atomic_sync_builtins.h"
#elif defined(OF_HAVE_OSATOMIC)
# import "atomic_osatomic.h"
#else
# error No atomic operations available!
#endif