From 9f9e05639f8549abf03ec50cc5908d3af854adf3 Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Sat, 9 Nov 2024 10:37:54 +0100 Subject: [PATCH] v3.out.v5d: fix broken LITTLE ifdef-else macro in read_float4() 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 } /*