comparison dmd/mtype.c @ 1257:7af860e4f403

Changes for mingw to compile properly
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Wed, 22 Apr 2009 14:49:49 -0600
parents 465a77c904d4
children 680b4df0ea36
comparison
equal deleted inserted replaced
1256:6af2359b433a 1257:7af860e4f403
85 int REALPAD = 0; 85 int REALPAD = 0;
86 int REALALIGNSIZE = 2; 86 int REALALIGNSIZE = 2;
87 #endif 87 #endif
88 int Tsize_t = Tuns32; 88 int Tsize_t = Tuns32;
89 int Tptrdiff_t = Tint32; 89 int Tptrdiff_t = Tint32;
90
91 #if _WIN32
92 static double zero = 0;
93 double Port::nan = NAN;
94 double Port::infinity = 1/zero;
95 #endif
90 96
91 /***************************** Type *****************************/ 97 /***************************** Type *****************************/
92 98
93 ClassDeclaration *Type::typeinfo; 99 ClassDeclaration *Type::typeinfo;
94 ClassDeclaration *Type::typeinfoclass; 100 ClassDeclaration *Type::typeinfoclass;