What is the best way to check for Windows in a Makefile? I have ifeq ($(findstring Microsoft,$(shell uname -r)), Microsoft), but it doesn't feel very robust.
It doesn't behave entirely compatibly though. There's e.g. plenty syscalls that just return ENOSYS and things like that.
-
-
Yeah, would have been nice, but some calls I use a lot are just not working well under Windows. I can provide replacements if I can detect WSL though.
-
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
