]> wimlib.net Git - wimlib/commitdiff
compiler.h: remove typeof
authorEric Biggers <ebiggers3@gmail.com>
Thu, 30 Mar 2023 07:00:56 +0000 (00:00 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Thu, 30 Mar 2023 07:16:51 +0000 (00:16 -0700)
wimlib is compiled with -std=gnu99, so this is unnecessary.

include/wimlib/compiler.h

index dc0c1c98c6220f5c816ee5b6ac81cd9144cf506e..d164184d2a090eded0fd45db9bb7f2e61b68b6db 100644 (file)
 #  define UNALIGNED_ACCESS_IS_FAST 0
 #endif
 
-/* Get the type of the specified expression.  */
-#define typeof     __typeof__
-
 /* Get the minimum of two variables, without multiple evaluation.  */
 #undef min
 #define min(a, b)  ({ typeof(a) _a = (a); typeof(b) _b = (b); \