1
0
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:
Calvin Rose
2019-02-18 22:25:40 -05:00
parent 7927078b49
commit dbcbb4466d
3 changed files with 2 additions and 6 deletions

View File

@@ -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)))