Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/dtc/util.hh
Show All 29 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _UTIL_HH_ | #ifndef _UTIL_HH_ | ||||
#define _UTIL_HH_ | #define _UTIL_HH_ | ||||
#include <memory> | |||||
#include <stdint.h> | |||||
#include <string> | |||||
#include <vector> | #include <vector> | ||||
// If we aren't using C++11, then just ignore static asserts. | // If we aren't using C++11, then just ignore static asserts. | ||||
#if __cplusplus < 201103L | #if __cplusplus < 201103L | ||||
#ifndef static_assert | #ifndef static_assert | ||||
#define static_assert(x, y) ((void)0) | #define static_assert(x, y) ((void)0) | ||||
#endif | #endif | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |