From 8c4f244c9533b64b7be5101cd7c4da0d496e89a5 Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Sat, 9 Nov 2024 13:49:28 +0100 Subject: [PATCH] r3.out.v5d: fix broken LITTLE ifdef-else macro in read_float4() (#4676) Fix regression introduced by 8dced26735eba9c385a2eebd1d31d97f2b808386. --- raster3d/r3.out.v5d/binio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/raster3d/r3.out.v5d/binio.c b/raster3d/r3.out.v5d/binio.c index 54b1d1a74e3..98cf70a9fdd 100644 --- a/raster3d/r3.out.v5d/binio.c +++ b/raster3d/r3.out.v5d/binio.c @@ -202,13 +202,14 @@ int read_float4(int f, float *x) else { return 0; } -#endif +#else if (read(f, x, 4) == 4) { return 1; } else { return 0; } +#endif } /*