From 29cd07132da2f5182a0d8ee1327c7175efbf019d Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 9 Feb 2024 16:40:02 +0000 Subject: [PATCH] Remove obsolete __STDC_LIMIT_MACROS references. None of our libcs need this any more. Test: treehugger Change-Id: I8a942ad6b3860633a6d722bd237a7c75482499eb --- libutils/binder/SharedBuffer_test.cpp | 2 -- libutils/binder/String8.cpp | 4 +--- libutils/binder/Vector_test.cpp | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/libutils/binder/SharedBuffer_test.cpp b/libutils/binder/SharedBuffer_test.cpp index 1d6317ff7..26702b037 100644 --- a/libutils/binder/SharedBuffer_test.cpp +++ b/libutils/binder/SharedBuffer_test.cpp @@ -14,8 +14,6 @@ * limitations under the License. */ -#define __STDC_LIMIT_MACROS - #include #include diff --git a/libutils/binder/String8.cpp b/libutils/binder/String8.cpp index 749bfcbb5..1de9e8b17 100644 --- a/libutils/binder/String8.cpp +++ b/libutils/binder/String8.cpp @@ -14,15 +14,13 @@ * limitations under the License. */ -#define __STDC_LIMIT_MACROS -#include - #include #include #include #include +#include #include #include diff --git a/libutils/binder/Vector_test.cpp b/libutils/binder/Vector_test.cpp index 6d90eaa9e..312dcf688 100644 --- a/libutils/binder/Vector_test.cpp +++ b/libutils/binder/Vector_test.cpp @@ -16,7 +16,6 @@ #define LOG_TAG "Vector_test" -#define __STDC_LIMIT_MACROS #include #include