blob: c27edebe4d5916a8bf7eb1170f69dbda62c080c3 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_FIRMWARE_GIGABOOT_INCLUDE_INTTYPES_H_
#define SRC_FIRMWARE_GIGABOOT_INCLUDE_INTTYPES_H_
#include <stdint.h>
#define PRId8 "d"
#define PRId16 "d"
#define PRId32 "d"
#define PRIu8 "u"
#define PRIu16 "u"
#define PRIu32 "u"
#define PRIx8 "x"
#define PRIx16 "x"
#define PRIx32 "x"
#ifdef __clang__
#define PRIx64 "llx"
#define PRIu64 "llu"
#else
#define PRIx64 "lx"
#define PRIu64 "lu"
#endif
#endif // SRC_FIRMWARE_GIGABOOT_INCLUDE_INTTYPES_H_