InfiniTime.git

commit 993118a3bc5400e0b09a58fa1aa0bc8ae72634a2

Author: Max Jakobitsch <madmini@users.noreply.github.com>

Fix EOL related build issues on Windows (#2077)

Prevent line endings from getting normalised to CRLF

Co-authored-by: NeroBurner <pyro4hell@gmail.com>

 .gitattributes | 5 +++--


diff --git a/.gitattributes b/.gitattributes
index 2257cac4e56a8435a57050b2b59e9d969303cb15..7adb0e69a611bf2efc994129e6471b6ca774a910 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,8 +1,9 @@
 # Set the default behavior, in case people don't have core.autocrlf set.
-* text=auto
+# Prevent build errors on non lf systems (like Windows), we need files with lf as newlines.
+* text=auto eol=lf
 
 # Explicitly declare text files you want to always be normalized and converted
-# to native line endings on checkout.
+# to lf line endings on checkout.
 *.c text
 *.cpp text
 *.h text