/*\r
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.\r
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd.\r
*\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
*/\r
\r
// EXTERNAL INCLUDES\r
-#include <string>\r
#include <curl/curl.h>\r
+#include <string>\r
+\r
+#undef TRANSPARENT\r
+#undef CopyMemory\r
\r
// INTERNAL INCLUDES\r
-#include <dali/internal/imaging/common/file-download.h>\r
#include <dali/integration-api/debug.h>\r
+#include <dali/internal/imaging/common/file-download.h>\r
#include <dali/internal/system/common/file-closer.h>\r
#include <dali/internal/window-system/windows/platform-implement-win.h>\r
\r
namespace Dali\r
{\r
-\r
namespace TizenPlatform\r
{\r
-\r
-const int CONNECTION_TIMEOUT_SECONDS( 30L );\r
-const long VERBOSE_MODE = 0L; // 0 == off, 1 == on\r
-const long CLOSE_CONNECTION_ON_ERROR = 1L; // 0 == off, 1 == on\r
-const long EXCLUDE_HEADER = 0L;\r
-const long INCLUDE_HEADER = 1L;\r
-const long INCLUDE_BODY = 0L;\r
-const long EXCLUDE_BODY = 1L;\r
+const int CONNECTION_TIMEOUT_SECONDS(30L);\r
+const long VERBOSE_MODE = 0L; // 0 == off, 1 == on\r
+const long CLOSE_CONNECTION_ON_ERROR = 1L; // 0 == off, 1 == on\r
+const long EXCLUDE_HEADER = 0L;\r
+const long INCLUDE_HEADER = 1L;\r
+const long INCLUDE_BODY = 0L;\r
+const long EXCLUDE_BODY = 1L;\r
\r
namespace Network\r
{\r
-\r
-void CurlEnvironment::GetThreadId( CRYPTO_THREADID* tid )\r
-{\r
- // If dali uses c++ thread, we may replace pthread_self() to this_thread::get_id()\r
- tid->val = Internal::Adaptor::WindowsPlatformImplementation::GetCurrentThreadId();\r
-}\r
-}\r
-}\r
}\r
+} // namespace TizenPlatform\r
+} // namespace Dali\r