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