Make compile-time asserts more readable.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 04 Aug 2017 22:32:57 -0400
changeset 1532 46c93007c674
parent 1531 4038d993b3e9
child 1533 49e7fb6d5b37
Make compile-time asserts more readable.
src/physfs.h
--- a/src/physfs.h	Fri Aug 04 22:32:34 2017 -0400
+++ b/src/physfs.h	Fri Aug 04 22:32:57 2017 -0400
@@ -320,7 +320,7 @@
 #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);