Use __alignof__ instead of __alignof.
authorMichael Meissner <meissner@gcc.gnu.org>
Mon, 10 May 1993 15:51:47 +0000 (15:51 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 10 May 1993 15:51:47 +0000 (15:51 +0000)
From-SVN: r4408

gcc/ginclude/va-mips.h

index 3345abfcf408d88af571de9db39b7fbe57f5d61e..ce96411854d911b23de97b6938f3c365db20b8a0 100644 (file)
@@ -54,7 +54,7 @@ void va_end (__gnuc_va_list);         /* Defined in libgcc.a */
 /* We cast to void * and then to TYPE * because this avoids
    a warning about increasing the alignment requirement.  */
 #define va_arg(__AP, __type)                                               \
-  ((__type *) (void *) (__AP = (char *) ((__alignof(__type) > 4                    \
+  ((__type *) (void *) (__AP = (char *) ((__alignof__(__type) > 4          \
                                          ? ((int)__AP + 8 - 1) & -8        \
                                          : ((int)__AP + 4 - 1) & -4)       \
                                         + __va_rounded_size(__type))))[-1]