summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--djgpp/config.over6
-rw-r--r--hints/dos_djgpp.sh7
2 files changed, 10 insertions, 3 deletions
diff --git a/djgpp/config.over b/djgpp/config.over
index ed443d31c4..a1c562c107 100644
--- a/djgpp/config.over
+++ b/djgpp/config.over
@@ -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'
+
diff --git a/hints/dos_djgpp.sh b/hints/dos_djgpp.sh
index f50cd01884..9878cc33fc 100644
--- a/hints/dos_djgpp.sh
+++ b/hints/dos_djgpp.sh
@@ -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="$*"