mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 17:09:34 +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;
|
unit xinerama;
|
||||||
interface
|
interface
|
||||||
uses
|
uses
|
||||||
{$IFDEF UNIX}
|
ctypes, xlib;
|
||||||
baseunix,
|
|
||||||
{$ENDIF UNIX}
|
|
||||||
xlib;
|
|
||||||
{ Converted from X11/Xinerama.h }
|
{ Converted from X11/Xinerama.h }
|
||||||
|
|
||||||
{$PACKRECORDS C}
|
{$PACKRECORDS C}
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
{$IFNDEF UNIX}
|
|
||||||
cint = longint;
|
|
||||||
pcint = plongint;
|
|
||||||
cshort = smallint;
|
|
||||||
{$ENDIF UNIX}
|
|
||||||
|
|
||||||
PXineramaScreenInfo = ^TXineramaScreenInfo;
|
PXineramaScreenInfo = ^TXineramaScreenInfo;
|
||||||
TXineramaScreenInfo = record
|
TXineramaScreenInfo = record
|
||||||
|
Loading…
Reference in New Issue
Block a user