Created
June 28, 2014 17:10
-
-
Save redstar/5800e9dc85a1d5626e7e to your computer and use it in GitHub Desktop.
Fix std.math for win64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/stdc/math.d b/src/core/stdc/math.d | |
index 78d6894..85d6287 100644 | |
--- a/src/core/stdc/math.d | |
+++ b/src/core/stdc/math.d | |
@@ -105,12 +105,19 @@ version( none ) | |
version( DigitalMars ) | |
{ | |
version( Win32 ) | |
- version = DigitalMarsWin32; | |
+ version = DMC_RUNTIME; | |
version( Win64 ) | |
- version = DigitalMarsWin64; // just to get it to compile for the moment - fix later | |
+ version = MSVC_RUNTIME; | |
} | |
-version( DigitalMarsWin32 ) | |
+version( LDC ) | |
+{ | |
+ version( Win64 ) | |
+ version = MSVC_RUNTIME; | |
+ | |
+} | |
+ | |
+version( DMC_RUNTIME ) | |
{ | |
enum | |
{ | |
@@ -179,7 +186,7 @@ version( DigitalMarsWin32 ) | |
} | |
} | |
} | |
-else version( DigitalMarsWin64 ) | |
+else version( MSVC_RUNTIME ) | |
{ | |
enum | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment