shiny/driver: use __MAC_OS_X_VERSION_MAX_ALLOWED for conditional compilation

__MAC_OS_X_VERSION_MAX_ALLOWED is official way to do conditional compilation
according to documentation in: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/cross_development/Using/using.html#//apple_ref/doc/uid/20002000-SW5

Fixes golang/go#22634

Change-Id: I916403149ed6a1ede5d8dcb554d152784c302fcb
Reviewed-on: https://go-review.googlesource.com/31546
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 file changed
tree: 9a5328e45a322c3a197d961c40d82e960eb7f66f
  1. .gitattributes
  2. .gitignore
  3. AUTHORS
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. README.md
  9. codereview.cfg
  10. ebnf/
  11. ebnflint/
  12. fsnotify/
  13. inotify/
  14. io/
  15. mmap/
  16. old/
  17. rand/
  18. shiny/
  19. shootout/
  20. utf8string/
  21. winfsnotify/
README.md

exp

This subrepository holds experimental and deprecated (in the old directory) packages.

The idea for this subrepository originated as the pkg/exp directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get these packages.

Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.

In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)

Caveat emptor.