Hi Bruce, I don't think we have that logic in V8. I would to expect it to be here if anywhere: https://cs.chromium.org/chromium/src/v8/src/base/platform/platform-win32.cc, but I don't see anything that provides OS version.
Cheers, Ross On Thu, 23 Aug 2018 at 00:59, 'Bruce Dawson' via v8-dev < v8-dev@googlegroups.com> wrote: > What is the official way to detect OS versions in v8 code? Specifically I > want to tell if the code is running on Windows 10, and my search-fu is > coming up short. > > -- > Bruce Dawson > > -- > -- > v8-dev mailing list > v8-dev@googlegroups.com > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.