mirror of
https://github.com/janet-lang/janet
synced 2025-11-13 22:07:13 +00:00
We don't need to add module/\*headerpath\*.
We can just dump janet.h into the lib folder as well.
This commit is contained in:
@@ -1605,10 +1605,6 @@ value, one key will be ignored."
|
||||
on Windows is C:/Janet/Library."
|
||||
(or (os/getenv "JANET_PATH") ""))
|
||||
|
||||
(var module/*headerpath*
|
||||
"The path where janet/janet.h is located."
|
||||
(or (os/getenv "JANET_INCLUDEDIR") ""))
|
||||
|
||||
(defn- fexists [path]
|
||||
(def f (file/open path))
|
||||
(if f (do (file/close f) path)))
|
||||
|
||||
Reference in New Issue
Block a user