Ah, I had come up with essentially the same this weekend, but this fills in a couple holes that I couldn't figure out. A couple comments:

Add to MacOSDefs.hpp a conditional to handle Intel OSX for endian (defaults to big, for classic PPC):

#ifdef __LITTLE_ENDIAN__
  #define ENDIANMODE_LITTLE
#else
  #define ENDIANMODE_BIG
#endif

Mutexes should use direct pthread calls, as in Linux/unix, since the Mac MP APIs are Carbon. At least, I think I had a compile problem with it (I was doing a lot of hack-n-slashing), so I changed it.

TranscodeUniCharsToUTF8() and TranscodeUTF8ToUniChars() use Carbon, so should return 0 for a 64bit build (they aren't used in the 64bit versions of the Mac platform utils, at least with what I did).

On Dec 31, 2007, at 6:28 AM, cargilld (JIRA) wrote:

MacOS 64 bit Support for xerces-2
---------------------------------

                Key: XERCESC-1772
URL: https://issues.apache.org/jira/browse/ XERCESC-1772
            Project: Xerces-C++
         Issue Type: Bug
         Components: Utilities
   Affects Versions: 2.8.0
        Environment: MacOS 64 bit
           Reporter: cargilld
            Fix For: 2.8.0
        Attachments: macsvn.diff

The MacOS code in the Xerces-2 branch was not building in 64 bits. Attaching patch of source changes I made to specific MacOS files to get it to work. I would commit them directly but thought it would be best if someone review them first. Changes are pretty much a result of pulling fixes from the xerces-c trunk.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to