* fixed win32 compilation

git-svn-id: trunk@8320 -
This commit is contained in:
Jonas Maebe 2007-08-28 13:33:22 +00:00
parent 685810c18c
commit ae364ab187
2 changed files with 4 additions and 2 deletions

View File

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

View File

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