mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
30fd24abd4
pragma once can now be used with test.h ./test.h and other references to the same file just like gcc/clang. On linux we can use stat and st_ino to check for the same file. On windows the st_ino does not work so we calculate a file hash if the size of the file differs and then compare the hash.
9 lines
92 B
Plaintext
9 lines
92 B
Plaintext
including
|
|
included
|
|
done
|
|
has_include
|
|
has_include
|
|
has_include_next
|
|
has_include_next
|
|
counter 0
|