Clone
nigelgbanks <nigel.g.banks@gmail.com>
committed
on 26 Jul
Unexport wmain/_wmain on Windows
For gradle-native Issue gradle/gradle-native#277

It is possible for windows application to use wmain/_wmai… Show more
Unexport wmain/_wmain on Windows

For gradle-native Issue gradle/gradle-native#277

It is possible for windows application to use wmain/_wmain as their entrypoint

rather than main/main.

https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-6.0/aa299386(v=vs.60)

These entrypoints must also be unexported when linking executable object files

to the cpp-unit executable.

Signed-off-by: nigelgbanks <nigel.g.banks@gmail.com>

Show less