Skip to content

Commit

Permalink
atomic: Remove atomic.c
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Nov 27, 2024
1 parent f5f18df commit fa9bedc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
11 changes: 0 additions & 11 deletions mcfgthread/atomic.c

This file was deleted.

5 changes: 1 addition & 4 deletions mcfgthread/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@
#endif /* __MCF_atomic */

__MCF_CXX(extern "C" {)
#ifndef __MCF_ATOMIC_IMPORT
# define __MCF_ATOMIC_IMPORT
# define __MCF_ATOMIC_INLINE __MCF_ALWAYS_INLINE
#endif
#define __MCF_ATOMIC_INLINE __MCF_ALWAYS_INLINE

#pragma push_macro("WIDTH")
#pragma push_macro("INTEGER")
Expand Down
10 changes: 5 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ mcfgthread_include = [
'mcfgthread/cxx11.hpp' ]

mcfgthread_src_min = [
'mcfgthread/xglobals.c', 'mcfgthread/fwd.c', 'mcfgthread/atomic.c',
'mcfgthread/clock.c', 'mcfgthread/mutex.c', 'mcfgthread/shared_mutex.c',
'mcfgthread/cond.c', 'mcfgthread/once.c', 'mcfgthread/sem.c', 'mcfgthread/event.c',
'mcfgthread/thread.c', 'mcfgthread/cxa.c', 'mcfgthread/dtor_queue.c',
'mcfgthread/exit.c', 'mcfgthread/tls.c', 'mcfgthread/gthr_aux.c' ]
'mcfgthread/xglobals.c', 'mcfgthread/fwd.c', 'mcfgthread/clock.c',
'mcfgthread/mutex.c', 'mcfgthread/shared_mutex.c', 'mcfgthread/cond.c',
'mcfgthread/once.c', 'mcfgthread/sem.c', 'mcfgthread/event.c', 'mcfgthread/thread.c',
'mcfgthread/cxa.c', 'mcfgthread/dtor_queue.c', 'mcfgthread/exit.c',
'mcfgthread/tls.c', 'mcfgthread/gthr_aux.c' ]

mcfgthread_src_ex = [
'mcfgthread/gthr.c', 'mcfgthread/gthr_libobjc.c', 'mcfgthread/c11.c',
Expand Down

0 comments on commit fa9bedc

Please sign in to comment.