From 85edf7ed5948e0efe59301680f79ea0bac4367e8 Mon Sep 17 00:00:00 2001 From: beware Date: Wed, 15 Mar 2023 15:53:54 +0000 Subject: [PATCH] line endings related fixes --- .gitattributes | 2 ++ lcorelocalips.pas | 3 ++- pgtypes.inc | 40 ++++++++++++++++++++-------------------- 3 files changed, 24 insertions(+), 21 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f8a9c28 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# make git not do text conversions (preserve line endings as-is) +* -text diff --git a/lcorelocalips.pas b/lcorelocalips.pas index 8698a8c..edd306c 100644 --- a/lcorelocalips.pas +++ b/lcorelocalips.pas @@ -418,4 +418,5 @@ begin end; {$endif} -end. \ No newline at end of file +end. + diff --git a/pgtypes.inc b/pgtypes.inc index 6676698..378eab2 100644 --- a/pgtypes.inc +++ b/pgtypes.inc @@ -1,20 +1,20 @@ -{$ifdef cpu386} - {$define i386} - {$define cpux86} -{$endif} - -{$ifdef cpuamd64} - {$define cpux64} -{$endif} - - -{$ifdef i386} -{$define ENDIAN_LITTLE} -{$ifdef fpc}{$asmmode intel}{$endif} -{$endif} - -{$ifdef cpux64} -{$define ENDIAN_LITTLE} -{$ifdef fpc}{$asmmode intel}{$endif} -{$endif} - +{$ifdef cpu386} + {$define i386} + {$define cpux86} +{$endif} + +{$ifdef cpuamd64} + {$define cpux64} +{$endif} + + +{$ifdef i386} +{$define ENDIAN_LITTLE} +{$ifdef fpc}{$asmmode intel}{$endif} +{$endif} + +{$ifdef cpux64} +{$define ENDIAN_LITTLE} +{$ifdef fpc}{$asmmode intel}{$endif} +{$endif} + -- 2.30.2