From 2b5c99df709a99089bbad91ec675da9c60de0530 Mon Sep 17 00:00:00 2001 From: eidenkim Date: Tue, 15 Mar 2022 14:05:27 -0700 Subject: [PATCH] Refactor Nearby Connections Service layer in Nearby Sharing Service PiperOrigin-RevId: 434850962 --- internal/platform/core_config.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/internal/platform/core_config.h b/internal/platform/core_config.h index 9ccfa519..ff1aaed3 100644 --- a/internal/platform/core_config.h +++ b/internal/platform/core_config.h @@ -18,18 +18,9 @@ namespace location { namespace nearby { namespace connections { -#ifdef _WIN32 // These storage class specifiers only matter to win32 dll - // builds. -#ifdef CORE_ADAPTER_DLL -#define DLL_API \ - __declspec(dllexport) // If we're building the core, we're exporting. -#else // !CORE_ADAPTER_DLL -#define DLL_API \ - __declspec(dllimport) // If we're not building the core, we're importing. -#endif // CORE_ADAPTER_DLL -#else // !_WIN32 -#define DLL_API // We're not building a win32 dll, leave the source unchanged. -#endif // _WIN32 +// TODO(b/224783653): Update DLL_API to check if we can add dllimport back. +#define DLL_API // Define DLL_API as blank since we don't import/export + // anything internally. } // namespace connections } // namespace nearby