mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Rearrange code and make a faster sha256sum program
This commit is contained in:
parent
5e60e5ad10
commit
89d1e5b8f2
32 changed files with 933 additions and 517 deletions
|
@ -163,8 +163,15 @@
|
|||
"__MRECORD_MCOUNT__"
|
||||
"__FNO_OMIT_FRAME_POINTER__"))
|
||||
|
||||
(defconst cosmo-cpp-constants-clang
|
||||
'("__llvm__"
|
||||
"__clang__"
|
||||
"_MSC_VER"
|
||||
"__INTEL_COMPILER"))
|
||||
|
||||
(defconst cosmo-cpp-constants
|
||||
(append cosmo-cpp-constants-c11
|
||||
cosmo-cpp-constants-clang
|
||||
cosmo-cpp-constants-gcc-92
|
||||
cosmo-cpp-constants-gcc-412
|
||||
cosmo-cpp-constants-chibicc
|
||||
|
|
|
@ -71,9 +71,6 @@
|
|||
"__NO_MATH_ERRNO__"
|
||||
"__gnu__"))
|
||||
|
||||
(clang
|
||||
'("__llvm__"))
|
||||
|
||||
(cosmo
|
||||
'("__COSMOPOLITAN__"
|
||||
"__ANDROID__"
|
||||
|
@ -81,7 +78,7 @@
|
|||
|
||||
)
|
||||
(concat "\\_<"
|
||||
(regexp-opt (append clang cpp92 gcc412 cosmo))
|
||||
(regexp-opt (append cpp92 gcc412 cosmo))
|
||||
"\\_>")))
|
||||
|
||||
(provide 'cosmo-platform-constants)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue