Last active
January 30, 2021 22:53
-
-
Save bistole/19ad97354fa0ff02054455f723d07f39 to your computer and use it in GitHub Desktop.
change cgo header for msvc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powershell -Command "(gc libBackend.h) -replace '__SIZE_TYPE__', 'size_t' | %%{$_ -replace 'typedef (.*) _Complex ', '//typedef $1 _Complex '} | out-file libBackend_msvc.h" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment