diff options
author | Tao Bao <tbao@google.com> | 2017-09-13 22:53:53 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-09-13 22:53:53 +0200 |
commit | 6e7df82c7ba4b868487d638e641e3ba62b12211e (patch) | |
tree | 4e9b138c4234d80b88cc856effa3f55e340044f5 /common.h | |
parent | Merge "Close cmd_pipe properly after updater test finishes" (diff) | |
parent | Remove EXPAND/STRINGIFY macros. (diff) | |
download | android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.gz android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.bz2 android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.lz android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.xz android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.tar.zst android_bootable_recovery-6e7df82c7ba4b868487d638e641e3ba62b12211e.zip |
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -22,8 +22,9 @@ #include <string> -#define STRINGIFY(x) #x -#define EXPAND(x) STRINGIFY(x) +// Not using the command-line defined macro here because this header could be included by +// device-specific recovery libraries. We static assert the value consistency in recovery.cpp. +static constexpr int kRecoveryApiVersion = 3; class RecoveryUI; |