+ unzipdll enabled for emx target

This commit is contained in:
Tomas Hajny 2004-02-22 16:09:38 +00:00
parent fa6166944f
commit 3b8d291ddf
3 changed files with 13 additions and 1 deletions

View File

@ -213,6 +213,9 @@ override TARGET_UNITS+=ziptypes unzip
ifeq ($(OS_TARGET),os2)
override TARGET_UNITS+=unzipdll
endif
ifeq ($(OS_TARGET),emx)
override TARGET_UNITS+=unzipdll
endif
override INSTALL_FPCPACKAGE=y
ifdef REQUIRE_UNITSDIR
override UNITSDIR+=$(REQUIRE_UNITSDIR)

View File

@ -8,6 +8,7 @@ version=1.9.2
[target]
units=ziptypes unzip
units_emx=unzipdll
units_os2=unzipdll
[install]

View File

@ -210,6 +210,11 @@ begin
end;
begin
{$IFDEF EMX}
if os_Mode <> osOS2 then
FileUnzipEx := TFileUnzipEx (@Unzip.FileUnzipEx)
else
{$ENDIF EMX}
if DLLInit then
begin
OldExit := ExitProc;
@ -242,7 +247,10 @@ begin
end.
{
$Log$
Revision 1.5 2003-08-03 22:25:55 hajny
Revision 1.6 2004-02-22 16:09:38 hajny
+ unzipdll enabled for emx target
Revision 1.5 2003/08/03 22:25:55 hajny
* integer type inconsistency resolved
Revision 1.4 2002/09/07 15:43:06 peter