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.
Right, WSL. I'm finding some system calls super slow and want to avoid them, so want something like ifeq WSL, CPPFLAGS += -DAVOID_SLOW_CALLS or whatever.
-
-
Would be curious which calls are slow enough to consider working around
-
Mainly splice(), I use it a lot for halfemptyhttps://github.com/googleprojectzero/halfempty …
- 1 more reply
New conversation -
-
-
If I were in this situation, I’d consider just benchmarking the calls myself. Think feature tests instead of user agent sniffing.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.