os/kernelhwsrv/kernel/eka/euser/us_des.cpp
changeset 1 260cb5ec6c19
parent 0 bde4ae8d615e
     1.1 --- a/os/kernelhwsrv/kernel/eka/euser/us_des.cpp	Fri Jun 15 03:10:57 2012 +0200
     1.2 +++ b/os/kernelhwsrv/kernel/eka/euser/us_des.cpp	Tue Jun 10 14:32:02 2014 +0200
     1.3 @@ -360,15 +360,18 @@
     1.4  	const TInt KAlignTRealX = 4;
     1.5  	const TInt KAlignTInt64 = 4;
     1.6  #else
     1.7 + #ifndef __VC32__ // MSVC generates an internal compiler error with the following code
     1.8  	struct TReal_align {char c; TReal a;};
     1.9  	const TInt KAlignTReal = _FOFF(TReal_align,a);
    1.10 - #ifndef __VC32__ // MSVC generates an internal compiler error with the following code
    1.11 +
    1.12  	struct TRealX_align {char c; TRealX a;};
    1.13  	const TInt KAlignTRealX = _FOFF(TRealX_align,a);
    1.14  
    1.15  	struct TInt64_align {char c; TInt64 a;};
    1.16  	const TInt KAlignTInt64 = _FOFF(TInt64_align,a);
    1.17   #else
    1.18 +	//SL: Now also hardcoding KAlignTReal
    1.19 +	const TInt KAlignTReal = 4;
    1.20  	const TInt KAlignTRealX = 4;	// Hard code value for MSVC
    1.21  	const TInt KAlignTInt64 = 4;	// Hard code value for MSVC
    1.22   #endif