diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-24 11:49:02 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-24 11:49:02 +0100 |
| commit | a2347a0780a90d9f7add3f63a9752229262eedc2 (patch) | |
| tree | 2b6fb558efba349483bcbbced6fcdfc9cef0c00f /ft_list_remove_if.s | |
| parent | d6240e3f6aeb342aaf13284c7cc93226970648aa (diff) | |
| download | libasm-a2347a0780a90d9f7add3f63a9752229262eedc2.tar.gz libasm-a2347a0780a90d9f7add3f63a9752229262eedc2.tar.bz2 libasm-a2347a0780a90d9f7add3f63a9752229262eedc2.zip | |
Fixing compilation on OSX by moving wrt..plt in LINUX preprocessing directives
Diffstat (limited to 'ft_list_remove_if.s')
| -rw-r--r-- | ft_list_remove_if.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ft_list_remove_if.s b/ft_list_remove_if.s index 61f3410..e415768 100644 --- a/ft_list_remove_if.s +++ b/ft_list_remove_if.s @@ -12,7 +12,7 @@ %ifdef __LINUX__ %define M_FT_LIST_REMOVE_IF ft_list_remove_if - %define M_FREE free + %define M_FREE free wrt ..plt %else %define M_FT_LIST_REMOVE_IF _ft_list_remove_if %define M_FREE _free @@ -88,7 +88,7 @@ FT_LIST_REMOVE_IF_REMOVE: EXTERN_FUNCTION_SAVE mov rdi, [rdi] - call M_FREE wrt ..plt ; free(*begin_list) + call M_FREE ; free(*begin_list) EXTERN_FUNCTION_SAVE_END mov rax, [rbp - 8] |
