reduced libc dependencies

git-svn-id: trunk@8755 -
This commit is contained in:
mattias 2006-02-17 13:47:44 +00:00
parent a88db22c6c
commit 407e9cd878

View File

@ -25,10 +25,9 @@ unit gdk2x;
interface
uses
Classes, SysUtils, libc, glib2, gdk2, xlib, x, xrender;
Classes, SysUtils, Unix, BaseUnix, glib2, gdk2, XLib, X, XRender;
{$ifdef FREEBSD}
{$linklib c}
{$linklib pthread}
{$endif}
@ -51,24 +50,6 @@ type
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
*