* dpmiexcp did not compile with older versions

due to the proc to procvar bug
  * makefile separator problem fixed
This commit is contained in:
pierre 1998-08-20 08:08:36 +00:00
parent e68fa48b27
commit 2d3551267d
2 changed files with 24 additions and 6 deletions

View File

@ -298,12 +298,20 @@ begin
signal:=temp;
end;
{$ifndef VER0_99_5}
{$ifndef VER0_99_6}
{ C counter part }
function c_signal(sig : longint;func : SignalHandler) : SignalHandler;
cdecl;[public,alias : '_signal'];
var
temp : SignalHandler;
begin
c_signal:=signal(sig,func);
temp:=signal(sig,func);
c_signal:=temp;
end;
{$endif VER0_99_5}
{$endif VER0_99_6}
const signames : array [0..14] of string[4] = (
'ABRT','FPE ','ILL ','SEGV','TERM','ALRM','HUP ',
@ -930,7 +938,12 @@ begin
end.
{
$Log$
Revision 1.8 1998-08-19 10:56:33 pierre
Revision 1.9 1998-08-20 08:08:36 pierre
* dpmiexcp did not compile with older versions
due to the proc to procvar bug
* makefile separator problem fixed
Revision 1.8 1998/08/19 10:56:33 pierre
+ added some special code for C interface
to avoid loading of crt1.o or dpmiexcp.o from the libc.a

View File

@ -277,15 +277,15 @@ sharedlib:
staticlibinstall: staticlib
$(MKDIR) $(STATIC_LIBINSTALLDIR)
$(MKDIR) $(STATIC_UNITINSTALLDIR)
$(INSTALLEXE) fpc$(STATICLIBEXT) $(STATIC_LIBINSTALLDIR)
$(INSTALL) *$(PPUEXT) *$(OEXT) $(STATIC_UNITINSTALLDIR)
$(INSTALLEXE) fpc$(STATICLIBEXT) $(STATIC_LIBINSTALLDIR)
$(INSTALL) *$(PPUEXT) *$(OEXT) $(STATIC_UNITINSTALLDIR)
sharedlibinstall: sharedlib
libinstall: staticlibinstall
libsclean : clean
-$(DEL) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
-$(DEL) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
#####################################################################
# Default targets
@ -295,7 +295,12 @@ include $(CFG)/makefile.def
#
# $Log$
# Revision 1.13 1998-08-19 10:05:01 peter
# Revision 1.14 1998-08-20 08:08:37 pierre
# * dpmiexcp did not compile with older versions
# due to the proc to procvar bug
# * makefile separator problem fixed
#
# Revision 1.13 1998/08/19 10:05:01 peter
# * fixed for go32v2 staticlib
#
# Revision 1.12 1998/08/05 10:31:05 pierre