mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 23:59:10 +02:00
* compilation fix for non-Unix platforms
This commit is contained in:
parent
e27a8d871f
commit
7044e6895b
@ -1,12 +1,21 @@
|
|||||||
unit xinerama;
|
unit xinerama;
|
||||||
interface
|
interface
|
||||||
uses xlib,BaseUnix;
|
uses
|
||||||
|
{$IFDEF UNIX}
|
||||||
|
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