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

* added ssockets for target netwlibc

armin 21 жил өмнө
parent
commit
01d38922da

+ 5 - 2
fcl/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2004/09/04]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2004/09/16]
 #
 default: all
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos darwin emx watcom morphos netwlibc
@@ -241,6 +241,9 @@ endif
 ifeq ($(OS_TARGET),darwin)
 override TARGET_UNITS+=process ssockets resolve fpasync syncobjs
 endif
+ifeq ($(OS_TARGET),netwlibc)
+override TARGET_UNITS+=resolve ssockets
+endif
 override TARGET_RSTS+=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry
 override TARGET_EXAMPLEDIRS+=tests
 override CLEAN_UNITS+=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads
@@ -872,7 +875,7 @@ ifndef COPY
 COPY:=$(CPPROG) -fp
 endif
 ifndef COPYTREE
-COPYTREE:=$(CPPROG) -rfp
+COPYTREE:=$(CPPROG) -Rfp
 endif
 ifndef MOVE
 MOVE:=$(MVPROG) -f

+ 1 - 0
fcl/Makefile.fpc

@@ -31,6 +31,7 @@ units_openbsd=process ssockets resolve fpasync
 units_linux=process resolve ssockets fpasync syncobjs
 units_win32=process fileinfo resolve ssockets syncobjs
 units_netware=resolve ssockets
+units_netwlibc=resolve ssockets
 rsts=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry
 exampledirs=tests
 

+ 8 - 1
fcl/inc/ssockets.pp

@@ -21,6 +21,10 @@
   {$define notUnix}
 {$endif}
 
+{$ifdef netwlibc}
+  {$define notUnix}
+{$endif}
+
 unit ssockets;
 
 
@@ -593,7 +597,10 @@ end.
 
 {
   $Log$
-  Revision 1.21  2003-11-22 11:51:28  sg
+  Revision 1.22  2004-09-17 19:03:32  armin
+  * added ssockets for target netwlibc
+
+  Revision 1.21  2003/11/22 11:51:28  sg
   * Added TSocketStream.LocalAddress and .RemoteAddress
   * TInetSocket now also accepts IP addresses as host parameter