D-Programming-Language/druntime — pull request #146 by YaoGomez (2012-02-07 02:04:28+00:00)
Title: [ddoc] Fix core.atomic issue with the -D compiler switch.

This pull fixes the [issue 5930](http://d.puremagic.com/issues/show_bug.cgi?id=5930): *cas doesn't work when used in code compiled with -D*.

The solution, as Rainer Schuetze points out, is to use another document versioning, instead of `D_Ddoc`. I chose the name `CoreDdoc` to match the use of `StdDdoc` in Phobos.