@@ -67,11 +67,11 @@ */ #ifdef __MINGW32__ # define strtod __strtod #endif -#ifdef OF_AMIGAOS3 +#ifdef OF_AMIGAOS_M68K /* libnix has strtod, but not strtof */ # define strtof strtod #endif static struct { @@ -2504,11 +2504,11 @@ - (float)floatValue { void *pool = objc_autoreleasePoolPush(); -#if defined(OF_AMIGAOS3) || defined(OF_MORPHOS) +#if defined(OF_AMIGAOS_M68K) || defined(OF_MORPHOS) OFString *stripped = [self stringByDeletingEnclosingWhitespaces]; if ([stripped caseInsensitiveCompare: @"INF"] == OF_ORDERED_SAME || [stripped caseInsensitiveCompare: @"INFINITY"] == OF_ORDERED_SAME) return INFINITY; @@ -2554,11 +2554,11 @@ - (double)doubleValue { void *pool = objc_autoreleasePoolPush(); -#if defined(OF_AMIGAOS3) || defined(OF_MORPHOS) +#if defined(OF_AMIGAOS_M68K) || defined(OF_MORPHOS) OFString *stripped = [self stringByDeletingEnclosingWhitespaces]; if ([stripped caseInsensitiveCompare: @"INF"] == OF_ORDERED_SAME || [stripped caseInsensitiveCompare: @"INFINITY"] == OF_ORDERED_SAME) return INFINITY;