@@ -212,11 +212,11 @@ break; case 'l': /* and also ll */ if (ctx->formatLen > ctx->i + 1 && ctx->format[ctx->i + 1] == 'l') { -#ifndef _WIN32 +#ifndef OF_WINDOWS if (!appendSubformat(ctx, ctx->format + ctx->i, 2)) return false; #else if (!appendSubformat(ctx, "I64", 3)) return false; @@ -231,11 +231,11 @@ ctx->lengthModifier = LENGTH_MODIFIER_L; } break; case 'j': -#if defined(_WIN32) +#if defined(OF_WINDOWS) if (!appendSubformat(ctx, "I64", 3)) return false; #elif defined(_NEWLIB_VERSION) if (!appendSubformat(ctx, "ll", 2)) return false; @@ -246,11 +246,11 @@ ctx->lengthModifier = LENGTH_MODIFIER_J; break; case 'z': -#if defined(_WIN32) +#if defined(OF_WINDOWS) if (!appendSubformat(ctx, "I", 1)) return false; #elif defined(_NEWLIB_VERSION) if (!appendSubformat(ctx, "l", 1)) return false; @@ -261,11 +261,11 @@ ctx->lengthModifier = LENGTH_MODIFIER_Z; break; case 't': -#if defined(_WIN32) +#if defined(OF_WINDOWS) if (!appendSubformat(ctx, "I", 1)) return false; #elif defined(_NEWLIB_VERSION) if (!appendSubformat(ctx, "l", 1)) return false; @@ -282,11 +282,11 @@ return false; ctx->lengthModifier = LENGTH_MODIFIER_CAPITAL_L; break; -#ifdef _WIN32 +#ifdef OF_WINDOWS case 'I': /* win32 strangeness (I64 instead of ll or j) */ if (ctx->formatLen > ctx->i + 2 && ctx->format[ctx->i + 1] == '6' && ctx->format[ctx->i + 2] == '4') { if (!appendSubformat(ctx, ctx->format + ctx->i, 3))