Explorar o código

* previous ugly workaround removed (baseunix replaced with ctypes)

Tomas Hajny %!s(int64=21) %!d(string=hai) anos
pai
achega
1a27b6bf90
Modificáronse 1 ficheiros con 1 adicións e 9 borrados
  1. 1 9
      packages/extra/x11/xinerama.pp

+ 1 - 9
packages/extra/x11/xinerama.pp

@@ -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