[PATCH] Fix building on AMD64

From: Jeremy Katz (katzj@redhat.com)
Date: Fri May 16 2003 - 17:57:49 EDT

  • Next message: Hubert Figuiere: "[admin] network access may fail"

    The attached patch fixes building of 1.9.1 on AMD64. Startup succeeds
    as well, but didn't test any further than that.

    Cheers,

    Jeremy


    --- abiword-1.9.1/abi/src/af/util/xp/ut_string_class.cpp.64bit 2003-05-16 21:46:36.000000000 -0400
    +++ abiword-1.9.1/abi/src/af/util/xp/ut_string_class.cpp 2003-05-16 21:47:02.000000000 -0400
    @@ -340,7 +340,7 @@
     }
     
     #if !defined (VA_COPY)
    -# if defined (__GNUC__) && defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32) || defined(WIN32)) || defined(__s390__)
    +# if defined (__GNUC__) && defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32) || defined(WIN32)) || defined(__s390__) || defined(__x86_64__)
     # define VA_COPY(ap1, ap2) (*(ap1) = *(ap2))
     # elif defined (VA_COPY_AS_ARRAY)
     # define VA_COPY(ap1, ap2) memmove ((ap1), (ap2), sizeof (va_list))



    This archive was generated by hypermail 2.1.4 : Sat May 17 2003 - 14:25:50 EDT