Some Windows related workarounds are specific to the usage of Dinkumware's STL and are not OS specific. For example in Atomics.h the OS(WINDOWS) workaround for assertions in compare_exchange_weak are due to Dinkumware's code.