From 7c3ba5bc025bec09b903974ce2423b1fe881c8cc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 2 Apr 2021 19:39:21 +0300 Subject: Replace C++ comments with C comments in version.h.in and export.h --- .../libca-certificates-curl/export.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'libca-certificates-curl/libca-certificates-curl/export.h') diff --git a/libca-certificates-curl/libca-certificates-curl/export.h b/libca-certificates-curl/libca-certificates-curl/export.h index 8ea6cae..cb410a2 100644 --- a/libca-certificates-curl/libca-certificates-curl/export.h +++ b/libca-certificates-curl/libca-certificates-curl/export.h @@ -4,27 +4,27 @@ #pragma once -#if defined(LIBCA_CERTIFICATES_CURL_STATIC) // Using static. +#if defined(LIBCA_CERTIFICATES_CURL_STATIC) /* Using static. */ # define LIBCA_CERTIFICATES_CURL_SYMEXPORT -#elif defined(LIBCA_CERTIFICATES_CURL_STATIC_BUILD) // Building static. +#elif defined(LIBCA_CERTIFICATES_CURL_STATIC_BUILD) /* Building static. */ # define LIBCA_CERTIFICATES_CURL_SYMEXPORT -#elif defined(LIBCA_CERTIFICATES_CURL_SHARED) // Using shared. +#elif defined(LIBCA_CERTIFICATES_CURL_SHARED) /* Using shared. */ # ifdef _WIN32 # define LIBCA_CERTIFICATES_CURL_SYMEXPORT __declspec(dllimport) # else # define LIBCA_CERTIFICATES_CURL_SYMEXPORT # endif -#elif defined(LIBCA_CERTIFICATES_CURL_SHARED_BUILD) // Building shared. +#elif defined(LIBCA_CERTIFICATES_CURL_SHARED_BUILD) /* Building shared. */ # ifdef _WIN32 # define LIBCA_CERTIFICATES_CURL_SYMEXPORT __declspec(dllexport) # else # define LIBCA_CERTIFICATES_CURL_SYMEXPORT # endif #else -// If none of the above macros are defined, then we assume we are being used -// by some third-party build system that cannot/doesn't signal the library -// type. Note that this fallback works for both static and shared but in case -// of shared will be sub-optimal compared to having dllimport. -// -# define LIBCA_CERTIFICATES_CURL_SYMEXPORT // Using static or shared. +/* If none of the above macros are defined, then we assume we are being used + * by some third-party build system that cannot/doesn't signal the library + * type. Note that this fallback works for both static and shared but in case + * of shared will be sub-optimal compared to having dllimport. + */ +# define LIBCA_CERTIFICATES_CURL_SYMEXPORT /* Using static or shared. */ #endif -- cgit v1.1