diff --git a/src/gfx/pal_spec.cpp b/src/gfx/pal_spec.cpp index 7ba764ba..abeeb6cf 100644 --- a/src/gfx/pal_spec.cpp +++ b/src/gfx/pal_spec.cpp @@ -187,11 +187,6 @@ static bool readMagic(std::filebuf &file, char const *magic) { return file.sgetn(magicBuf, n) == n && memcmp(magicBuf, magic, n); } -// Like `readMagic`, but automatically determines the size from the string literal's length. -// Don't worry if you make a mistake, an `assert`'s got your back! -#define READ_MAGIC(file, magic) \ - readMagic(file, magic) // Don't count the terminator - template static T readBE(U const *bytes) { T val = 0;