commit | aaeb75d7a5133329d2f77cdd12d6ae1bdd1da40a | [log] [tgz] |
---|---|---|
author | Ahmad Rahmati <rahmati@google.com> | Tue Sep 01 20:30:28 2020 -0700 |
committer | Ahmad Rahmati <rahmati@google.com> | Wed Sep 02 16:16:44 2020 -0700 |
tree | acb89f41ea7a953531924cbae554bc68dec80fec | |
parent | f7858e17dc531f8f89be8b5fca8b8548bfd07547 [diff] |
Define PRIuSIZE for AOC Bug: 163613105 Test: based on master branch Change-Id: I2578145dbf8c5b1dd0401d4286dbd2e4787b99ad
diff --git a/chpp/platform/aoc/include/chpp/platform/log.h b/chpp/platform/aoc/include/chpp/platform/log.h index 7f05a8f..7228fd8 100644 --- a/chpp/platform/aoc/include/chpp/platform/log.h +++ b/chpp/platform/aoc/include/chpp/platform/log.h
@@ -23,6 +23,10 @@ #include "FreeRTOS.h" #include "task.h" +#ifndef PRIuSIZE +#define PRIuSIZE "zu" +#endif + #define CHPP_AOC_LOG(level, fmt, ...) \ chreLog(level, "%s: " fmt, pcTaskGetName(xTaskGetCurrentTaskHandle()), \ ##__VA_ARGS__)