patch-js_src_jsprf_cpp 617 B

1234567891011121314151617181920
  1. --- mozilla-release.orig/js/src/jsprf.cpp 2011-07-08 03:15:24.000000000 +0200
  2. +++ mozilla-release/js/src/jsprf.cpp 2013-04-04 16:21:34.000000000 +0200
  3. @@ -54,17 +54,7 @@
  4. using namespace js;
  5. -/*
  6. -** Note: on some platforms va_list is defined as an array,
  7. -** and requires array notation.
  8. -*/
  9. -#ifdef HAVE_VA_COPY
  10. -#define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar)
  11. -#elif defined(HAVE_VA_LIST_AS_ARRAY)
  12. -#define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0]
  13. -#else
  14. #define VARARGS_ASSIGN(foo, bar) (foo) = (bar)
  15. -#endif
  16. /*
  17. ** WARNING: This code may *NOT* call JS_LOG (because JS_LOG calls it)