From 9a23e896b37340e3f64700e46bcd9afcc40eb11c Mon Sep 17 00:00:00 2001 From: daniel Date: Sat, 3 Jul 2004 22:44:37 +0000 Subject: [PATCH] * Declared envp,argc,argv in interface for Darwin --- rtl/bsd/system.pp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/rtl/bsd/system.pp b/rtl/bsd/system.pp index 17ca5fedb7..61ac1c201c 100644 --- a/rtl/bsd/system.pp +++ b/rtl/bsd/system.pp @@ -33,6 +33,12 @@ Interface {$define FPC_USE_SYSCALL} {$endif} +{$ifdef Darwin} +var argc:cardinal; + argv:PPchar; + envp:PPchar; +{$endif} + {$define FPC_IS_SYSTEM} {$I sysunixh.inc} @@ -205,7 +211,10 @@ End. { $Log$ - Revision 1.16 2004-06-19 08:06:04 marco + Revision 1.17 2004-07-03 22:44:37 daniel + * Declared envp,argc,argv in interface for Darwin + + Revision 1.16 2004/06/19 08:06:04 marco * moved heap.inc and text.inc before sysalloc as suggested. Why wasn't this done directly?