summaryrefslogtreecommitdiff
path: root/dmagick
diff options
context:
space:
mode:
authorMike Wey2011-07-10 20:12:21 +0200
committerMike Wey2011-07-10 20:12:21 +0200
commitc93b37fa592d7578ecbc1fa0ced629e0ca80b78c (patch)
tree0015968c993aad550123bf1ec2d0812b653a654b /dmagick
parent7385ef0350c6af402ee23125058dfe2e5d4cc133 (diff)
real seem to be the same size as "long double".
At least with dmc on windows and gcc on linux.
Diffstat (limited to 'dmagick')
-rw-r--r--dmagick/c/magickType.d18
1 files changed, 9 insertions, 9 deletions
diff --git a/dmagick/c/magickType.d b/dmagick/c/magickType.d
index ee90734..9547312 100644
--- a/dmagick/c/magickType.d
+++ b/dmagick/c/magickType.d
@@ -26,16 +26,16 @@ extern (C)
}
else version(Quantum64)
{
- static assert(false, "64bit Quantum not implemented, need long double");
+ alias double Quantum;
+ //real seems to be the same size as long double for
+ //dmc and dmd on windows and for dmd and gcc on linux.
+ alias real MagickRealType;
- //alias double Quantum;
- //alias long double MagickRealType;
-
- //enum MAGICKCORE_QUANTUM_DEPTH = 64;
- //enum QuantumRange = 18446744073709551615.0;
- //enum MaxColormapSize = 65536;
- //enum MagickEpsilon = 1.0e-10;
- //enum MagickHuge = 1.0e12;
+ enum MAGICKCORE_QUANTUM_DEPTH = 64;
+ enum QuantumRange = 18446744073709551615.0;
+ enum MaxColormapSize = 65536;
+ enum MagickEpsilon = 1.0e-10;
+ enum MagickHuge = 1.0e12;
}
else
{