diff options
author | Tao Bao <tbao@google.com> | 2017-09-13 23:40:03 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-09-13 23:40:03 +0200 |
commit | ad878d5494c30c8ce3f50977900a89840f73e176 (patch) | |
tree | 4ebaede70f855f14cc55d6422e7fa475a833f851 /common.h | |
parent | Merge "Close cmd_pipe properly after updater test finishes" (diff) | |
parent | Merge "Remove EXPAND/STRINGIFY macros." (diff) | |
download | android_bootable_recovery-ad878d5494c30c8ce3f50977900a89840f73e176.tar android_bootable_recovery-ad878d5494c30c8ce3f50977900a89840f73e176.tar.gz android_bootable_recovery-ad878d5494c30c8ce3f50977900a89840f73e176.tar.bz2 android_bootable_recovery-ad878d5494c30c8ce3f50977900a89840f73e176.tar.lz android_bootable_recovery-ad878d5494c30c8ce3f50977900a89840f73e176.tar.xz android_bootable_recovery-ad878d5494c30c8ce3f50977900a89840f73e176.tar.zst android_bootable_recovery-ad878d5494c30c8ce3f50977900a89840f73e176.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; |