Browse Source

* make clongdouble only a double on win64 and wince, on win32 we follow gcc

git-svn-id: trunk@9118 -
florian 17 years ago
parent
commit
ebc99e1bd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/inc/ctypes.pp

+ 1 - 1
rtl/inc/ctypes.pp

@@ -76,7 +76,7 @@ type
   cdouble                = double;             pcdouble               = ^cdouble;
   cdouble                = double;             pcdouble               = ^cdouble;
 {$endif}
 {$endif}
 
 
-{$ifdef windows}
+{$ifdef defined(win64) or defined(wince)}
   {$define longdouble_is_double}
   {$define longdouble_is_double}
 {$endif}
 {$endif}