[Bug 444846] Fixing GCC warning on x86-64 about redefined HAVE_VA_LIST_AS_ARRAY. r=crowder

This commit is contained in:
Igor Bukanov 2008-07-19 19:51:05 +02:00
parent c3acf2cc17
commit 6e106c4272
2 changed files with 4 additions and 4 deletions

View File

@ -376,10 +376,10 @@ int main(int argc, char **argv)
printf("#define JS_HAVE_LONG_LONG\n");
printf("\n");
#if defined __GNUC__ && defined __x86_64__
printf("#define HAVE_VA_LIST_AS_ARRAY\n");
#if defined __GNUC__ && defined __x86_64__
printf("#define HAVE_VA_LIST_AS_ARRAY 1\n");
printf("\n");
#endif
#endif
printf("#endif /* js_cpucfg___ */\n");

View File

@ -97,7 +97,7 @@
#elif defined(_WIN32) || defined(XP_OS2) || defined(WINCE)
#ifdef __WATCOMC__
#define HAVE_VA_LIST_AS_ARRAY
#define HAVE_VA_LIST_AS_ARRAY 1
#endif
#define IS_LITTLE_ENDIAN 1