@@ -32,16 +32,10 @@ #import "macros.h" #import "asprintf.h" #import "unicode.h" -#ifndef _WIN32 -# define PATH_DELIM '/' -#else -# define PATH_DELIM '\\' -#endif - extern const uint16_t of_iso_8859_15[256]; extern const uint16_t of_windows_1252[256]; /* References for static linking */ void _references_to_categories_of_OFString() @@ -590,11 +584,11 @@ memcpy(string, [first cString], len); i = len; while ((component = va_arg(args, OFString*)) != nil) { len = [component length]; - string[i] = PATH_DELIM; + string[i] = OF_PATH_DELIM; memcpy(string + i + 1, [component cString], len); i += len + 1; } string[i] = '\0';