tccrun: update for apple and openbsd
commitf9cb198aa889b011b45f14bb8a79ceba843a1700
authorherman ten brugge <hermantenbrugge@home.nl>
Mon, 26 Feb 2024 06:18:07 +0000 (26 07:18 +0100)
committerherman ten brugge <hermantenbrugge@home.nl>
Mon, 26 Feb 2024 06:18:07 +0000 (26 07:18 +0100)
treefd3b543af808ee9ea492c21a1d9ec4b082ebf93e
parent4e91d38ddcdb659a4b2c298850c6ccf115073748
tccrun: update for apple and openbsd

Apple needs CONFIG_RUNMEM_RO=1
I now only set CONFIG_RUNMEM_RO=0 on _WIN32

Openbsd does not have malloc.h so remove some code

Also fix some warnings when compiling lib with gcc
lib/runmain.c
tccrun.c