feat(wpcarro/emacs): Define constants-osx?
We need build-time branching and run-time branching to support OSX and Linux. Change-Id: Ie8de39f8ce34004d8fb3acf5bb5f2ba0b5f2e3d8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7316 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
8fd9b91d29
commit
355e08cf3b
2 changed files with 5 additions and 2 deletions
|
|
@ -20,7 +20,10 @@
|
|||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defconst constants-ci? (maybe-some? (getenv "CI"))
|
||||
"Encoded as t when Emacs is running in CI.")
|
||||
"Defined as t when Emacs is running in CI.")
|
||||
|
||||
(defconst constants-osx? (eq system-type 'darwin)
|
||||
"Defined as t when OSX is running.")
|
||||
|
||||
(provide 'constants)
|
||||
;;; constants.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue