Browse Source

Convert some headers to use C headers

filter-focus
Macoy Madson 1 year ago
parent
commit
206eca2b1d
  1. 2
      src/Export.cake
  2. 2
      src/FileSystem.cake

2
src/Export.cake

@ -8,7 +8,7 @@
;; TODO Need infect
(add-c-search-directory-module "Dependencies/enkiTS/src")
(c-import "<cstdio>" "<cassert>")
(c-import "<stdio.h>" "<assert.h>")
(forward-declare (struct directory-entry-userdata)
(struct category-spec))

2
src/FileSystem.cake

@ -97,7 +97,7 @@
(comptime-cond
('Unix
(c-import "<dirent.h>" "<errno.h>" "<sys/stat.h>" "<cassert>")
(c-import "<dirent.h>" "<errno.h>" "<sys/stat.h>" "<assert.h>")
;; This is gross hidden behavior
(defun-local is-special-skippable-dir (path (* (const char))

Loading…
Cancel
Save