Don't define `_CRT_SECURE_NO_DEPRECATE` on non-windows targets.
Here is a page from the microsoft docs which mentions the define, confirming that it's windows-specific: https://github.com/MicrosoftDocs/cpp-docs/blob/25815cbe0dd6bae018890dd85eb10e5e5feece8e/docs/c-runtime-library/security-features-in-the-crt.md
I noticed, the msvc toolchain already adds this flag for all msvc builds: https://github.com/HaxeFoundation/hxcpp/blob/1618253d7bb2dd8eea1bc7ffcd612452df76a7b7/toolchain/msvc-toolchain.xml#L104
So I wonder if it's safe to remove it from haxe-target.xml?
I noticed, the msvc toolchain already adds this flag for all msvc builds:
https://github.com/HaxeFoundation/hxcpp/blob/1618253d7bb2dd8eea1bc7ffcd612452df76a7b7/toolchain/msvc-toolchain.xml#L104
So I wonder if it's safe to remove it from
haxe-target.xml?
Perhaps, if it doesnt break anything.