mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:39:25 +02:00
* previous ugly workaround removed (baseunix replaced with ctypes)
This commit is contained in:
parent
b70d944a49
commit
1a27b6bf90
@ -1,21 +1,13 @@
|
||||
unit xinerama;
|
||||
interface
|
||||
uses
|
||||
{$IFDEF UNIX}
|
||||
baseunix,
|
||||
{$ENDIF UNIX}
|
||||
xlib;
|
||||
ctypes, xlib;
|
||||
{ Converted from X11/Xinerama.h }
|
||||
|
||||
{$PACKRECORDS C}
|
||||
|
||||
|
||||
type
|
||||
{$IFNDEF UNIX}
|
||||
cint = longint;
|
||||
pcint = plongint;
|
||||
cshort = smallint;
|
||||
{$ENDIF UNIX}
|
||||
|
||||
PXineramaScreenInfo = ^TXineramaScreenInfo;
|
||||
TXineramaScreenInfo = record
|
||||
|
Loading…
Reference in New Issue
Block a user