Skip to content

Commit 8b23b95

Browse files
committed
fix missing dll export on env var api
1 parent 904ea3e commit 8b23b95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/include/opentelemetry/sdk/common/env_variables.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ OPENTELEMETRY_EXPORT bool GetStringEnvironmentVariable(const char *env_var_name,
4646
@param [out] value Variable value, if it exists
4747
@return true if the variable exists
4848
*/
49-
bool GetUintEnvironmentVariable(const char *env_var_name, std::uint32_t &value);
49+
OPENTELEMETRY_EXPORT bool GetUintEnvironmentVariable(const char *env_var_name, std::uint32_t &value);
5050

5151
/**
5252
Read a float environment variable.
5353
@param env_var_name Environment variable name
5454
@param [out] value Variable value, if it exists
5555
@return true if the variable exists
5656
*/
57-
bool GetFloatEnvironmentVariable(const char *env_var_name, float &value);
57+
OPENTELEMETRY_EXPORT bool GetFloatEnvironmentVariable(const char *env_var_name, float &value);
5858

5959
#if defined(_MSC_VER)
6060
inline int setenv(const char *name, const char *value, int)

0 commit comments

Comments
 (0)