diff options
| author | Eli Zaretskii | 2025-02-28 14:45:39 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-02-28 14:45:39 +0200 |
| commit | a04e8812ee0dfb7f2984d0b57b380cf15c73567c (patch) | |
| tree | c183df87e8d90694f23f56af2b9697d0409a2394 /java | |
| parent | 387dcb1be88168f2683af52041b4f5a6e3bde146 (diff) | |
| download | emacs-a04e8812ee0dfb7f2984d0b57b380cf15c73567c.tar.gz emacs-a04e8812ee0dfb7f2984d0b57b380cf15c73567c.zip | |
Fix 'internal--c-header-file-path'
* lisp/subr.el (internal--c-header-file-path): Fix for MS-Windows:
don't prepend the (usually non-existent) "/usr/include", and run
each directory through 'expand-file-name' to remove the many ".."
elements and mirror any backslashes. Invoke "clang" if "gcc" is
not available or is actually clang.
* test/lisp/subr-tests.el
(subr-tests-internal--c-header-file-path): Fix for MS-Windows:
test the path by looking for stdio.h, and expand all directory
names to compare to expected results.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions