summaryrefslogtreecommitdiff
path: root/util/superiotool
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-10-01 14:20:57 -0500
committerAaron Durbin <adurbin@chromium.org>2015-10-02 12:15:47 +0000
commit7ffcc0be63bc8f253c9d4d971ef75be19038963e (patch)
tree61069d1eb61fc61309e2654941240913af4eb4bc /util/superiotool
parent04ebf598de6d8b8152c99ebe181de084e0b5b242 (diff)
commonlib/helpers.h: handle interaction with other environments
There are compiler settings and interactions with other header files that should be handled. First use __typeof__ instead of typeof because 'std' modes don't accept typeof. The __typeof__ variant works equally well on clang. The other change is to guard the helper macros so as not to trigger redefinition errors. BUG=chrome-os-partner:44827 BRANCH=None TEST=Built cbfstool including commonlib/helpers.h Change-Id: I58890477cb17df14a9fa8b7af752a7c70769cf36 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11773 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/superiotool')
0 files changed, 0 insertions, 0 deletions