mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 23:01:55 +02:00
+ added support for macos
This commit is contained in:
parent
01d38922da
commit
0b235a2dab
@ -19,18 +19,16 @@ unit cmem;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
Const
|
Const
|
||||||
{$ifndef win32}
|
{$if defined(win32)}
|
||||||
{$ifdef netware}
|
LibName = 'msvcrt';
|
||||||
|
{$elseif defined(netware)}
|
||||||
LibName = 'clib';
|
LibName = 'clib';
|
||||||
{$else}
|
{$elseif defined(netwlibc)}
|
||||||
{$ifdef netwlibc}
|
|
||||||
LibName = 'libc';
|
LibName = 'libc';
|
||||||
|
{$elseif defined(macos)}
|
||||||
|
LibName = 'StdCLib';
|
||||||
{$else}
|
{$else}
|
||||||
LibName = 'c';
|
LibName = 'c';
|
||||||
{$endif netwlibc}
|
|
||||||
{$endif}
|
|
||||||
{$else}
|
|
||||||
LibName = 'msvcrt';
|
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
Function Malloc (Size : ptrint) : Pointer; {$ifdef win32}stdcall{$else}cdecl{$endif}; external LibName name 'malloc';
|
Function Malloc (Size : ptrint) : Pointer; {$ifdef win32}stdcall{$else}cdecl{$endif}; external LibName name 'malloc';
|
||||||
@ -169,7 +167,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.6 2004-09-15 20:37:42 armin
|
Revision 1.7 2004-09-18 08:40:26 olle
|
||||||
|
+ added support for macos
|
||||||
|
|
||||||
|
Revision 1.6 2004/09/15 20:37:42 armin
|
||||||
* add support for netware libc
|
* add support for netware libc
|
||||||
|
|
||||||
Revision 1.5 2004/05/05 13:00:43 jonas
|
Revision 1.5 2004/05/05 13:00:43 jonas
|
||||||
|
Loading…
Reference in New Issue
Block a user