Modifications and bug-fixes to make Mosaic compile and run under UNICOS. (part 2)

The changes mostly revolve around:
- Type changes and casts to make the picky C-compiler happy
- Fixed bug in XmxExtractToken where it would not zero out bits 16-31 on a non-32-bit system
- Added back old getline implementation as its missing on UNICOS
- Added some missing typedefs and conditional directives to turn on the relevant code pieces for UNICOS
This commit is contained in:
Andras Tantos
2019-03-04 15:20:14 -08:00
committed by Robert Clausecker
parent 075b2e4911
commit 8baf5f2e62
34 changed files with 430 additions and 404 deletions

View File

@@ -22,6 +22,7 @@ dev_::
@echo " linux -- x86 running Linux 1.2.13 DYNAMIC"
@echo " linux-static -- x86 running Linux 1.2.13 ALL STATIC"
@echo " linux-static-motif -- x86 running Linux 1.2.13 STATIC MOTIF"
@echo " unicos -- Cray PVP running UNICOS (tested with 10.0 and MOTIF)"
@echo " sco -- x86 running SCO System V 3.2"
@echo " sgi -- SGI Iris running IRIS 4.0.2"
@echo " solaris-23 -- SPARCstation 20 running Solaris 2.3"
@@ -119,6 +120,14 @@ p_linux_static_motif: rm_and_touch
q_linux_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux q_static_motifd DEV_ARCH=linux
dev_unicos: rm_and_touch unicos
unicos: rm_and_touch
$(MAKE) -f makefiles/Makefile.unicos static_motifd DEV_ARCH=unicos
p_unicos: rm_and_touch
$(MAKE) -f makefiles/Makefile.unicos p_static_motifd DEV_ARCH=unicos
q_unicos: rm_and_touch
$(MAKE) -f makefiles/Makefile.unicos q_static_motifd DEV_ARCH=unicos
dev_sco: rm_and_touch sco
sco: rm_and_touch
$(MAKE) -f makefiles/Makefile.sco DEV_ARCH=sco