The newer versions of MinGW already have these functions defined in their respective headers.
This causes issues when compiling with CGo, or Kotlin Native, as they use MinGW behind the scenes.
The fix is to remove this piece of code, and anyone using an older version of MinGW will either have to redefine these functions or update.
The newer versions of MinGW already have these functions defined in their respective headers. This causes issues when compiling with CGo, or Kotlin Native, as they use MinGW behind the scenes. The fix is to remove this piece of code, and anyone using an older version of MinGW will either have to redefine these functions or update.