From a075732c0b059989e759b49d0d57289d53988cd5 Mon Sep 17 00:00:00 2001 From: yamadapc Date: Tue, 5 Aug 2014 15:34:56 -0300 Subject: [PATCH] Let the nogc `enum` fix from 4a46262 be private. This is so it doesn't leak on `import`. This also bumps version to `1.0.4` and is also related to #7. --- source/colorize/winterm.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/colorize/winterm.d b/source/colorize/winterm.d index 09d593f..276e5b4 100644 --- a/source/colorize/winterm.d +++ b/source/colorize/winterm.d @@ -11,7 +11,7 @@ version(Windows) import core.sys.windows.windows; // Patch for DMD 2.065 compatibility - static if( __VERSION__ < 2066 ) enum nogc = 1; + static if( __VERSION__ < 2066 ) private enum nogc = 1; // This is a state machine to enable terminal colors on Windows. // Parses and interpret ANSI/VT100 Terminal Control Escape Sequences.