control-flag
control-flag copied to clipboard
Doesn't build on windows.
2>C:\Users\Bob\control-flag\src\common_util.h(24,10): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory 2>C:\Users\Bob\control-flag\src\trie.h(24,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Shouldn't you be using portable C++11 chrono in new code?
hi IOBYTE,
Ah, yes, using chrono library than sys/time seems better option. I could consider that. Thanks for trying out ControlFlag, btw. Feel free to submit a PR in case you are interested in the change. Thanks. :)
PR#54 could answer your issue.