Skip to content

Commit cb04747

Browse files
committed
FIX: Always define CPPHTTPLIB_OPENSSL_SUPPORT
1 parent a3589e1 commit cb04747

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
- Deprecated `FixPx` in favor of `pretty::Px` which has consistent naming with the API
2222
and the Python and Rust client libraries
2323

24+
### Bug fixes
25+
- Ensure `CPPHTTPLIB_OPENSSL_SUPPORT` is defined at all locations where `cpp-httplib`
26+
is included
27+
2428
## 0.37.1 - 2025-06-03
2529

2630
### Bug fixes

include/databento/exceptions.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#pragma once
22

3+
#ifndef CPPHTTPLIB_OPENSSL_SUPPORT
4+
#define CPPHTTPLIB_OPENSSL_SUPPORT
5+
#endif
36
#include <httplib.h> // Error
47
#include <nlohmann/json.hpp> // json, parse_error
58

src/historical.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#include "databento/historical.hpp"
22

3+
#ifndef CPPHTTPLIB_OPENSSL_SUPPORT
4+
#define CPPHTTPLIB_OPENSSL_SUPPORT
5+
#endif
36
#include <httplib.h>
47
#include <nlohmann/json.hpp>
58

0 commit comments

Comments
 (0)