From b6e139fc222cfa39e388f63b9376fedbe93391be Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 4 Aug 2017 22:32:57 -0400 Subject: [PATCH] Make compile-time asserts more readable. --- src/physfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physfs.h b/src/physfs.h index 4d81cd83..05eecbf1 100644 --- a/src/physfs.h +++ b/src/physfs.h @@ -320,7 +320,7 @@ typedef signed long long PHYSFS_sint64; #ifndef DOXYGEN_SHOULD_IGNORE_THIS /* Make sure the types really have the right sizes */ #define PHYSFS_COMPILE_TIME_ASSERT(name, x) \ - typedef int PHYSFS_dummy_ ## name[(x) * 2 - 1] + typedef int PHYSFS_compile_time_assert_ ## name[(x) * 2 - 1] PHYSFS_COMPILE_TIME_ASSERT(uint8, sizeof(PHYSFS_uint8) == 1); PHYSFS_COMPILE_TIME_ASSERT(sint8, sizeof(PHYSFS_sint8) == 1);