codec.h fix ifdef for older compilers

elifdef appears to be finally supported in C23
elif defined() works everywhere

Change-Id: I8ac6c215bedc81cc9ea8f79850be40cef131594b
This commit is contained in:
William Wilgus 2023-09-26 15:03:13 -04:00
parent ec2c507e60
commit 4c533475d8

View file

@ -60,7 +60,7 @@
#ifdef ROCKBOX_HAS_LOGF
#undef LOGF
#define LOGF ci->logf
#elifdef LOGF_ENABLE
#elif defined(LOGF_ENABLE)
#include "logf.h"
#undef LOGF
#define LOGF logf