summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authortehzz <tehzz@users.noreply.github.com>2022-06-15 20:26:03 -0400
committerGitHub <noreply@github.com>2022-06-15 17:26:03 -0700
commit0f0ff04779ed42818b2b976b889fe71727957592 (patch)
tree5408a05deb1c6af5ea7120c7c8b9fbbf21da9473 /.gitattributes
parent491f37be4d8f1f0aa3eb3e1e043c3b5c35c974ce (diff)
Add building on macOS (#224)
* build OK macOS * add macOS building instructions * change return type of func_8000546C * prevent gitattributes from removing CRLF from ido binaries
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes23
1 files changed, 22 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index fcadb2cf9..980b4bf4d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,22 @@
-* text eol=lf
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# force C files to unix endings regardless of host platform
+# for compatibility with IDO cc
+*.c text eol=lf diff=c
+*.h text eol=lf diff=c
+
+# List text files in case git doesn't characterize correctly
+*.s text
+*.in text
+*.js text
+*.md text
+*.py text diff=python
+*.sh text
+*.ld text
+*.inc text
+*.txt text
+*.json text
+*.yaml text
+*.toml text
+*.rs text diff=rust