comparison dmd/mars.h @ 420:491264b7cb93

Use == in RealEquals and get rid of the memcmp there entirely.
author Christian Kamm <kamm incasoftware de>
date Mon, 28 Jul 2008 20:50:41 +0200
parents ac1fcc138e42
children cc40db549aea
comparison
equal deleted inserted replaced
419:023fa78c1203 420:491264b7cb93
211 211
212 #ifdef IN_GCC 212 #ifdef IN_GCC
213 #include "d-gcc-real.h" 213 #include "d-gcc-real.h"
214 #else 214 #else
215 typedef long double real_t; 215 typedef long double real_t;
216 // this should be enough
217 #if defined(i386) || defined(__i386__) || defined(_WIN32) || defined(__MINGW32__)
218 #define REAL_T_SIZE 12
219 #define REAL_T_PAD 2
220 #else
221 #define REAL_T_SIZE sizeof(real_t)
222 #define REAL_T_PAD 0
223 #endif
224 #endif 216 #endif
225 217
226 // Modify OutBuffer::writewchar to write the correct size of wchar 218 // Modify OutBuffer::writewchar to write the correct size of wchar
227 #if _WIN32 219 #if _WIN32
228 #define writewchar writeword 220 #define writewchar writeword