Skip to content
Snippets Groups Projects
Commit 2669e47c authored by James David Berry's avatar James David Berry
Browse files

Changes to support MACHO build under CodeWarrior

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174173 13f79535-47bb-0310-9956-ffa450edef68
parent bb57b897
No related branches found
No related tags found
No related merge requests found
......@@ -62,9 +62,10 @@
#include <ctype.h>
// These functions are needed because MacOS doesn't define them
// (these routines are defined in CW 8 by extras.h)
// (these routines are defined in CW 8 by extras.h, but there is no MachO
// library for extras).
#if 0
#if __MACH__ && __MWERKS__
// Compare lexigraphically two strings
int stricmp(const char *s1, const char *s2)
{
......
......@@ -75,8 +75,8 @@
// These defines provide the platform specific keywords that they need
// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
#define PLATFORM_EXPORT __declspec(export)
#define PLATFORM_IMPORT __declspec(import)
// ---------------------------------------------------------------------------
......@@ -137,9 +137,10 @@ typedef int XMLInt32;
// ---------------------------------------------------------------------------
// Provide some common string ops that are different/notavail for CodeWarrior.
// (these routines are defined in CW 8 by extras.h)
// (these routines are defined in CW 8 by extras.h, but there is no MachO
// library for extras).
// ---------------------------------------------------------------------------
#if 0
#if __MACH__ && __MWERKS__
int stricmp(const char* const str1, const char* const str2);
int strnicmp(const char* const str1, const char* const str2, const unsigned int count);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment