From 21dba9ea992ce008e528f687a5320773e9dd5f3c Mon Sep 17 00:00:00 2001 From: Josh Slocum Date: Fri, 4 Nov 2022 15:12:06 -0500 Subject: [PATCH] fixing build vs with that caused compiling aws sdk to not work properly --- fdbclient/S3BlobStore.actor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdbclient/S3BlobStore.actor.cpp b/fdbclient/S3BlobStore.actor.cpp index 049c4a2987..dcb59ca442 100644 --- a/fdbclient/S3BlobStore.actor.cpp +++ b/fdbclient/S3BlobStore.actor.cpp @@ -41,7 +41,7 @@ #include "flow/Hostname.h" #include "flow/UnitTest.h" #include "rapidxml/rapidxml.hpp" -#ifdef BUILD_AWS_BACKUP +#ifdef WITH_AWS_BACKUP #include "fdbclient/FDBAWSCredentialsProvider.h" #endif @@ -618,7 +618,7 @@ ACTOR Future> tryReadJSONFile(std::string path) { // If the credentials expire, the connection will eventually fail and be discarded from the pool, and then a new // connection will be constructed, which will call this again to get updated credentials static S3BlobStoreEndpoint::Credentials getSecretSdk() { -#ifdef BUILD_AWS_BACKUP +#ifdef WITH_AWS_BACKUP double elapsed = -timer_monotonic(); Aws::Auth::AWSCredentials awsCreds = FDBAWSCredentialsProvider::getAwsCredentials(); elapsed += timer_monotonic();