[FreeBSD] Define _XOPEN_SOURCE for gtest_zlib#1900
Conversation
* Without defining _XOPEN_SOURCE as 700, isascii() is not available on FreeBSD 14.
WalkthroughThe pull request updates the build configuration for FreeBSD systems by adding a conditional compilation option. When the system is detected as FreeBSD, it applies the compile flag Changes
Sequence Diagram(s)sequenceDiagram
participant CMake
participant System
participant Target
System->>CMake: Provide system name ("FreeBSD")
CMake->>CMake: Evaluate condition (if FreeBSD)
CMake->>Target: Apply compile option (-D_XOPEN_SOURCE=700)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1900 +/- ##
===========================================
- Coverage 83.42% 83.41% -0.01%
===========================================
Files 144 144
Lines 12948 12948
Branches 2857 2857
===========================================
- Hits 10802 10801 -1
+ Misses 1202 1195 -7
- Partials 944 952 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit