Platform constant #HW_AMIGAOS3FPU
Posted: Mon Sep 27, 2021 12:30 pm
Hi there
For the next release of Hollywood, it would be great to have a new platform constant #HW_AMIGAOS3FPU to make it possible to use preprocessor commands with it.
The background if this is, that once an exe is compiled for the AmigaOS3 platform, I believe it's no longer possible to find out if it was compiled for "classic", "classic881" or "warpos". Or maybe I'm missing something?
Therefor I wanted to set the version string accordingly, but found that there's no constant that's only set when compiled for "classic881", correct?
Cheers, Michael
For the next release of Hollywood, it would be great to have a new platform constant #HW_AMIGAOS3FPU to make it possible to use preprocessor commands with it.
The background if this is, that once an exe is compiled for the AmigaOS3 platform, I believe it's no longer possible to find out if it was compiled for "classic", "classic881" or "warpos". Or maybe I'm missing something?
Therefor I wanted to set the version string accordingly, but found that there's no constant that's only set when compiled for "classic881", correct?
Code: Select all
@IF #HW_WARPOS
@APPVERSION "$VER: MySuperApp 1.0 WarpOS (27.09.21)"
@ELSEIF #HW_AMIGAOS3FPU ; <-- that's the one I'm wishing for
@APPVERSION "$VER: MySuperApp 1.0 FPU (27.09.21)"
@ELSE
@APPVERSION "$VER: MySuperApp 1.0 (27.09.21)"
@ENDIF