aboutsummaryrefslogtreecommitdiff
path: root/f54test
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:14:13 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:14:13 +0000
commit93c09772f9a877ff9bd80f5d686770a9b2bd5aef (patch)
tree73fa9a557e6cbd55222048f95d34a73b707e8ae7 /f54test
parent300225f3e9561e02d6abe8050fb341ee8b4891a3 (diff)
parenta248dafd7653b99fc45f9d29e5f139b04f2f28bc (diff)
downloadrmi4utils-edaea589afac43771f9fc4ada3632cb4f847ee6f.tar.gz
Change-Id: Ifd01e06db1e48e0742892174d4c37c9ccd64988d
Diffstat (limited to 'f54test')
-rw-r--r--f54test/Makefile1
-rw-r--r--f54test/f54test.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/f54test/Makefile b/f54test/Makefile
index e0f1b64..272646c 100644
--- a/f54test/Makefile
+++ b/f54test/Makefile
@@ -1,5 +1,6 @@
CXX ?= g++
CPPFLAGS += -I../include -I./include -I../rmidevice
+CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
CXXFLAGS += -Wall
LDFLAGS += -L.
LIBS = -lrmidevice -lrt
diff --git a/f54test/f54test.cpp b/f54test/f54test.cpp
index 4b4f6b1..c6b351e 100644
--- a/f54test/f54test.cpp
+++ b/f54test/f54test.cpp
@@ -695,7 +695,7 @@ int F54Test::ReadF54Queries()
sizeof(m_f54Query_61.data));
if (retval < 0)
return retval;
- offset += 1;
+ offset += 1;
}
/* query 62 63 */