[Vm-dev] latest sources removal platforms/unix/vm/sunos.h
stes at telenet.be
Mon Nov 9 07:48:38 UTC 2020
-----BEGIN PGP SIGNED MESSAGE-----
Thanks for the interesting link to
To quote from that page:
"You should define these macros by using #define preprocessor directives at the top of your source code files. These directives must come before any #include of a system header file. It is best to make them the very first thing in the file, preceded only by comments. You could also use the -D option to GCC, but it's better if you make the source files indicate their own meaning in a self-contained way. "
Note the fact that it says: "before any #include of a system header file".
So the change that I observe (because it used to work) is perhaps due to
reorganizing the source code so that the "before any #include" is no longer so.
Also this is of course very fragile, perhaps using the -D option in the mvm
script (which is an alternative that I tested and it works) can be done.
In fact the issue could be due to
in the platforms/unix/config/configure.ac
which currently seems to set in the config.h.in the _FILE_OFFSET_BITS.
However perhaps AC_SYS_LARGEFILE could be instructed to not change the
config.h header but rather just add the -D option to the CFLAGS.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the Vm-dev