Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sdk/main/include/impl/BaseNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#ifndef HIERO_SDK_CPP_IMPL_BASE_NODE_H_
#define HIERO_SDK_CPP_IMPL_BASE_NODE_H_

#include <services/basic_types.pb.h> // This is needed for Windows to build for some reason.
#include <services/basic_types.pb.h> // Must be included before any header that pulls in <windows.h>, whose macros (e.g. GetMessage) collide with identifiers in the generated protobuf code.

#include "BaseNodeAddress.h"
#include "Defaults.h"
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/main/src/AccountId.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Windows build requires this to be included first for some reason.
// Must be included before any header that pulls in <windows.h>, whose macros (e.g. GetMessage) collide with identifiers in the generated protobuf code.
#include <services/basic_types.pb.h> // NOLINT

#include "AccountId.h"
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/main/src/FeeEstimateQuery.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Windows build requires this to be included first for some reason.
// Must be included before any header that pulls in <windows.h>, whose macros (e.g. GetMessage) collide with identifiers in the generated protobuf code.
#include <services/basic_types.pb.h> // NOLINT

#include "Client.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tck/src/TckServer.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Windows build requires this to be included first for some reason.
// Must be included before any header that pulls in <windows.h>, whose macros (e.g. GetMessage) collide with identifiers reached transitively from this header.
#include <Transaction.h> // NOLINT

#include "TckServer.h"
Expand Down