Mercurial > projects > ldc
diff lphobos/gc/gcbits.d @ 473:373489eeaf90
Applied downs' lphobos update
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 04 Aug 2008 19:28:49 +0200 |
parents | 5ab8e92611f9 |
children |
line wrap: on
line diff
--- a/lphobos/gc/gcbits.d Mon Aug 04 19:08:39 2008 +0200 +++ b/lphobos/gc/gcbits.d Mon Aug 04 19:28:49 2008 +0200 @@ -4,13 +4,24 @@ // www.digitalmars.com // Written by Walter Bright +/* NOTE: This file has been patched from the original DMD distribution to + work with the GDC compiler. + + Modified by David Friedman, September 2004 +*/ + import std.c.string; import std.c.stdlib; import std.outofmemory; import std.intrinsic; //version = Asm86; -version = bitops; +version (GNU) { + // bitop intrinsics not implemented yet +} else { + version = bitops; +} + struct GCBits {