Browse Source

* fix compilation failure in 2.1 branch
reason is that cvar was .comm before and
is now .bss, you need to explicitly add public
to added the .globl that makes the assembler symbol
accessible in other objects.

git-svn-id: trunk@5558 -

pierre 18 years ago
parent
commit
34b049d876
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/go32v2/dpmiexcp.pp

+ 1 - 1
rtl/go32v2/dpmiexcp.pp

@@ -645,7 +645,7 @@ end;
 
 
 var
 var
   signal_list : Array[0..SIGMAX] of SignalHandler;cvar;
   signal_list : Array[0..SIGMAX] of SignalHandler;cvar;
-  {$ifndef CREATE_C_FUNCTIONS}external;{$endif}
+  {$ifndef CREATE_C_FUNCTIONS}external;{$else}public;{$endif}
 
 
 {$ifdef CREATE_C_FUNCTIONS}
 {$ifdef CREATE_C_FUNCTIONS}
 function SIG_ERR(x:longint):longint;[public,alias : '___djgpp_SIG_ERR'];
 function SIG_ERR(x:longint):longint;[public,alias : '___djgpp_SIG_ERR'];