Browse Source

* older Solaris doesn't have trunc in libc

git-svn-id: trunk@2473 -
florian 19 years ago
parent
commit
0c8c95c334
1 changed files with 4 additions and 2 deletions
  1. 4 2
      rtl/inc/cgenmath.inc

+ 4 - 2
rtl/inc/cgenmath.inc

@@ -16,6 +16,8 @@
 { for 80x86, we can easily write the optimal inline code }
 {$ifndef cpui386}
 
+{$ifndef SOLARIS}
+
 {$ifndef FPC_SYSTEM_HAS_INT}
 {$define FPC_SYSTEM_HAS_INT}
 
@@ -40,8 +42,8 @@
       end;
 {$endif SUPPORT_DOUBLE}
 
-{$endif}
-
+{$endif FPC_SYSTEM_HAS_INT}
+{$endif SOLARIS}
 
 {$ifndef SYSTEM_HAS_FREXP}
 {$define SYSTEM_HAS_FREXP}