Skip to content

Commit a786a48

Browse files
committed
use grpc port files
1 parent b556d44 commit a786a48

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

google/cloud/storage/internal/storage_stub.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <memory>
2929
#include <utility>
3030

31-
#undef GetObject
31+
#include <grpcpp/ports_def.inc>
3232

3333
namespace google {
3434
namespace cloud {
@@ -456,3 +456,5 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
456456
} // namespace storage_internal
457457
} // namespace cloud
458458
} // namespace google
459+
460+
#include <grpcpp/ports_undef.inc>

google/cloud/storage/internal/storage_stub.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include <memory>
3434
#include <utility>
3535

36-
#undef GetObject
36+
#include <grpcpp/ports_def.inc>
3737

3838
namespace google {
3939
namespace cloud {
@@ -375,4 +375,5 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
375375
} // namespace cloud
376376
} // namespace google
377377

378+
#include <grpcpp/ports_undef.inc>
378379
#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_INTERNAL_STORAGE_STUB_H

0 commit comments

Comments
 (0)