mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 06:39:34 +02:00
* fixed win32 compilation
git-svn-id: trunk@8320 -
This commit is contained in:
parent
685810c18c
commit
ae364ab187
@ -2114,7 +2114,7 @@ begin
|
|||||||
{ This installs an exit procedure which cleans up the mode list...}
|
{ This installs an exit procedure which cleans up the mode list...}
|
||||||
ExitSave := ExitProc;
|
ExitSave := ExitProc;
|
||||||
ExitProc := @GraphExitProc;
|
ExitProc := @GraphExitProc;
|
||||||
{$ifdef win32}
|
{$if defined(win32) and not defined(sdlgraph)}
|
||||||
charmessagehandler:=nil;
|
charmessagehandler:=nil;
|
||||||
{$endif win32}
|
{$endif win32 and not sdlgraph}
|
||||||
end;
|
end;
|
||||||
|
@ -146,6 +146,8 @@ uses {$ifdef unix}cthreads,{$endif}
|
|||||||
const
|
const
|
||||||
InternalDriverName = 'SDL';
|
InternalDriverName = 'SDL';
|
||||||
|
|
||||||
|
{$define sdlgraph}
|
||||||
|
|
||||||
{$i graph.inc}
|
{$i graph.inc}
|
||||||
|
|
||||||
var
|
var
|
||||||
|
Loading…
Reference in New Issue
Block a user