Clean up OpenVMS support.

This avoids cluttering the source code with VMS-specific changes.

* include/freetype/internal/ftcalc.h [__VMS], src/base/ftcalc.c
  [vms_auto64_source]: Remove.

* builds/vms/patch_ftcalc.sed: New file.

* vms_make.com: Change macro definitions while this script is running; we
  use `GNU sed` to inject the necessary preprocessor code on the fly.
This commit is contained in:
Jouk Jansen
2025-08-30 20:34:36 +02:00
committed by Werner Lemberg
parent c6cf32de3b
commit ba7eb5bed7
4 changed files with 43 additions and 20 deletions

View File

@@ -0,0 +1,4 @@
/^# *undef FT_MulFix/ a\
# ifdef vms_auto64_source\
# define FT_MulFix FT_MulFix64__\
# endif