mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-12 10:40:40 +01:00
reduced libc dependencies
git-svn-id: trunk@8755 -
This commit is contained in:
parent
a88db22c6c
commit
407e9cd878
@ -25,10 +25,9 @@ unit gdk2x;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, libc, glib2, gdk2, xlib, x, xrender;
|
Classes, SysUtils, Unix, BaseUnix, glib2, gdk2, XLib, X, XRender;
|
||||||
|
|
||||||
{$ifdef FREEBSD}
|
{$ifdef FREEBSD}
|
||||||
{$linklib c}
|
|
||||||
{$linklib pthread}
|
{$linklib pthread}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
@ -51,24 +50,6 @@ type
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
{$IFNDEF KYLIX}
|
|
||||||
{ There is a bug in the compiler. If an external variable is not used, it will
|
|
||||||
create code, that can't be relocated by the linker.
|
|
||||||
So, use them in this hidden dummy procedure.
|
|
||||||
}
|
|
||||||
procedure CheckUnusedVariable; [Public];
|
|
||||||
begin
|
|
||||||
//_gdk_x11_drawable_class
|
|
||||||
//_gdk_use_xshm
|
|
||||||
//_gdk_nenvent_masks
|
|
||||||
//_gdk_event_mask_table
|
|
||||||
//_gdk_selection_property
|
|
||||||
//_gdk_synchronize
|
|
||||||
|
|
||||||
//gdk_display
|
|
||||||
end;
|
|
||||||
{$ENDIF}
|
|
||||||
|
|
||||||
{*****************************************************************************
|
{*****************************************************************************
|
||||||
* macro functions
|
* macro functions
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user