Browse Source

* dpmiexcp did not compile with older versions
due to the proc to procvar bug
* makefile separator problem fixed

pierre 27 years ago
parent
commit
2d3551267d
2 changed files with 24 additions and 6 deletions
  1. 15 2
      rtl/dos/go32v2/dpmiexcp.pp
  2. 9 4
      rtl/dos/go32v2/makefile

+ 15 - 2
rtl/dos/go32v2/dpmiexcp.pp

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

+ 9 - 4
rtl/dos/go32v2/makefile

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