DOS djgpp updates:
authorLaszlo Molnar <laszlo.molnar@eth.ericsson.se>
Fri, 6 Mar 1998 10:41:01 +0000 (11:41 +0100)
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Mon, 16 Mar 1998 12:13:55 +0000 (12:13 +0000)
Subject: [PATCH for 5.004_61] dos-djgpp update
Date: Fri, 6 Mar 1998 10:41:01 +0100
Subject: [PATCH 5.004_62] dos-djgpp update
Date: Thu, 12 Mar 1998 13:34:51 +0100

p4raw-id: //depot/perl@811

djgpp/config.over
hints/dos_djgpp.sh

index ed443d3..a1c562c 100644 (file)
@@ -14,3 +14,9 @@ known_extensions=$(repair "$known_extensions")
 
 # I use Dos::UseLFN in AutoSplit.pm to override this under win0.95
 d_flexfnam='undef'
+
+# I should explain here, why I added these lines ;-)
+castflags='0'
+d_casti32='undef'
+d_castneg='define'
+
index f50cd01..9878cc3 100644 (file)
@@ -52,9 +52,12 @@ archlib=$privlib
 sitelib=$privlib/site
 sitearch=$sitelib
 
+eagain='EAGAIN'
+rd_nodata='-1'
+
 : set up the translation script tr
 
-cat >../UU/tr <<EOSC
+cat > UU/tr <<EOSC
 $startsh
 case "\$1\$2" in
 '[A-Z][a-z]') exec tr.exe '[:upper:]' '[:lower:]';;
@@ -64,8 +67,6 @@ exec tr.exe "\$@"
 EOSC
 
 if [ "X$usethreads" != "X" ]; then
-    ccflags="-DUSE_THREADS $ccflags"
-    cppflags="-DUSE_THREADS $cppflags"
     set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
     shift
     libswanted="$*"