mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-11 01:12:32 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
15 lines
428 B
C
15 lines
428 B
C
#pragma once
|
|
|
|
// Some versions of protobuf generate code that will produce errors during
|
|
// compilation. See https://github.com/google/protobuf/issues/549 for more
|
|
// details. We work around this by undefining this macro.
|
|
//
|
|
// TODO: Remove this after the protoc we use is upgraded to not generate
|
|
// code that conflicts with the TYPE_BOOL macro.
|
|
|
|
#ifdef TYPE_BOOL
|
|
#undef TYPE_BOOL
|
|
#endif
|
|
|
|
#include <xrpl/proto/xrpl.pb.h>
|