diff dmd/lexer.c @ 1165:226c07c71967

This should fix integers below 64 bit on big-endian systems.
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 29 Mar 2009 01:29:30 +0100
parents b30fe7e1dbb9
children e961851fb8be
line wrap: on
line diff
--- a/dmd/lexer.c	Sat Mar 28 21:10:53 2009 +0100
+++ b/dmd/lexer.c	Sun Mar 29 01:29:30 2009 +0100
@@ -118,22 +118,14 @@
     switch (value)
     {
 	case TOKint32v:
-#if IN_GCC
 	    sprintf(buffer,"%d",(d_int32)int64value);
-#else
-	    sprintf(buffer,"%d",int32value);
-#endif
 	    break;
 
 	case TOKuns32v:
 	case TOKcharv:
 	case TOKwcharv:
 	case TOKdcharv:
-#if IN_GCC
 	    sprintf(buffer,"%uU",(d_uns32)uns64value);
-#else
-	    sprintf(buffer,"%uU",uns32value);
-#endif
 	    break;
 
 	case TOKint64v: