Bläddra i källkod

* enable vfork for solaris

git-svn-id: trunk@5557 -
Jonas Maebe 18 år sedan
förälder
incheckning
87a4372d7f
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      rtl/unix/sysutils.pp
  2. 1 1
      rtl/unix/unix.pp

+ 1 - 1
rtl/unix/sysutils.pp

@@ -20,7 +20,7 @@ interface
 { force ansistrings }
 {$H+}
 
-{$if defined(BSD) and defined(FPC_USE_LIBC)}
+{$if (defined(BSD) or defined(SUNOS)) and defined(FPC_USE_LIBC)}
 {$define USE_VFORK}
 {$endif}
 

+ 1 - 1
rtl/unix/unix.pp

@@ -17,7 +17,7 @@ Interface
 
 Uses BaseUnix,UnixType;
 
-{$if defined(BSD) and defined(FPC_USE_LIBC)}
+{$if (defined(BSD) or defined(SUNOS)) and defined(FPC_USE_LIBC)}
 {$define USE_VFORK}
 {$endif}