harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r793399 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c
Date Sun, 12 Jul 2009 19:28:46 GMT
Author: ndbeyer
Date: Sun Jul 12 19:28:45 2009
New Revision: 793399

URL: http://svn.apache.org/viewvc?rev=793399&view=rev
Log:
add check for MACOSX

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c?rev=793399&r1=793398&r2=793399&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c Sun
Jul 12 19:28:45 2009
@@ -29,7 +29,7 @@
 int gl_cmsErrorHandler(int errorCode, const char *msg) {
   if(errorCode == LCMS_ERRC_ABORTED) {
     // Throw exception later, after returning control from cmm
-#if defined(ZOS) || defined(LINUX) || defined(FREEBSD)
+#if defined(ZOS) || defined(LINUX) || defined(FREEBSD) || defined(MACOSX)
     errMsg = strdup(msg);
 #else
     errMsg = _strdup(msg);



Mime
View raw message