diff options
author | Chris Robinson <[email protected]> | 2018-05-15 21:46:22 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-05-15 21:46:22 -0700 |
commit | 6534aa0c2796e53f11ce8b15a4c5c39f6f801191 (patch) | |
tree | 5e7a4a0cd9987f4abb30f583cdde02992efe8fc4 /Alc/hrtf.c | |
parent | e42489b3e9e88311b35e738098d71906fa4bfd8e (diff) |
Undefine the correct macros
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r-- | Alc/hrtf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1030,12 +1030,12 @@ static void AddFileEntry(vector_EnumeratedHrtf *list, const_al_string filename) /* Check if this entry has already been added to the list. */ #define MATCH_ENTRY(i) (loaded_entry == (i)->hrtf) VECTOR_FIND_IF(iter, const EnumeratedHrtf, *list, MATCH_ENTRY); +#undef MATCH_ENTRY if(iter != VECTOR_END(*list)) { TRACE("Skipping duplicate file entry %s\n", alstr_get_cstr(filename)); return; } -#undef MATCH_FNAME break; } @@ -1109,12 +1109,12 @@ static void AddBuiltInEntry(vector_EnumeratedHrtf *list, const_al_string filenam { #define MATCH_ENTRY(i) (loaded_entry == (i)->hrtf) VECTOR_FIND_IF(iter, const EnumeratedHrtf, *list, MATCH_ENTRY); +#undef MATCH_ENTRY if(iter != VECTOR_END(*list)) { TRACE("Skipping duplicate file entry %s\n", alstr_get_cstr(filename)); return; } -#undef MATCH_FNAME break; } |