2
0
Эх сурвалжийг харах

* always include DebugMessage definition, second try

git-svn-id: trunk@6119 -
pierre 18 жил өмнө
parent
commit
fcac5238fd
1 өөрчлөгдсөн 2 нэмэгдсэн , 4 устгасан
  1. 2 4
      ide/wutils.pas

+ 2 - 4
ide/wutils.pas

@@ -200,14 +200,14 @@ const LastStrToIntResult : integer = 0;
 
 procedure RegisterWUtils;
 
-{$ifdef DEBUG}
 Procedure WUtilsDebugMessage(AFileName, AText : string; ALine, APos : sw_word);
 type
   TDebugMessage = procedure(AFileName, AText : string; ALine, APos : sw_word);
 
 Const
   DebugMessage : TDebugMessage = @WUtilsDebugMessage;
-{$endif DEBUG}
+
+
 implementation
 
 uses
@@ -1350,13 +1350,11 @@ begin
 {$endif}
 end;
 
-{$ifdef DEBUG}
 Procedure WUtilsDebugMessage(AFileName, AText : string; ALine, APos : sw_word);
 begin
   writeln(stderr,AFileName,' (',ALine,',',APos,') ',AText);
 end;
 
-{$endif DEBUG}
 BEGIN
   Randomize;
 END.