[Lazarus] TSaveDialog.InitialDir on Mac OS X

John Stoneham captnjameskirk at gmail.com
Tue Sep 23 00:24:57 CEST 2008


I am using the latest SVN source and the apache modules are not working 
on the current Apache 2.2.9 on Linux for some reason (Windows is OK).

btw, In the httpd2.pas for Delphi

   {$IFDEF MSWINDOWS}
   apr_off_t = Int64;
   {$EXTERNALSYM apr_off_t}
   {$ENDIF}
   {$IFDEF LINUX}
   apr_off_t = Integer;
   {$EXTERNALSYM apr_off_t}
   {$ENDIF}

in FPC, fpc/packages/httpd22/src/apr/apr.pas :

   apr_off_t = Int64;

in Apache 2.2.9 source code apr.hw

#if APR_HAS_LARGE_FILES
typedef  __int64     apr_off_t;
#else
typedef  int         apr_off_t;
#endif


Could it be that for Linux this - and maybe some other things - should 
be different than for Windows?

Currently apache modules work on windows for me from Lazarus/FPC but not 
on Linux.


AB

Inoussa OUEDRAOGO wrote:
>> Any of these examples working for anyone on a 32bit Linux?
> 
> I once got a module working, modeled after the examples. There were a
> problem with a typedef ( apr_off_t ) but it has been corrected, at
> least in fpc/trunk.
> See the wiki page for more info about apr_off_t (
> http://wiki.freepascal.org/FPC_and_Apache_Modules#Bug_Reporting )
> 




More information about the Lazarus mailing list