[PR #496] [CLOSED] Haiku: force undefine INFINITY for GCC2 as it's not const #1135

Open
opened 2026-01-29 20:52:38 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/496
Author: @mmuman
Created: 1/25/2017
Status: Closed

Base: masterHead: haiku-infinity


📝 Commits (1)

  • 80c9d94 Haiku: force undefine INFINITY for GCC2 as it's not const

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 enc/backward_references.c (+4 -0)

📄 Description

It's defined as a non-const inline union...
cf. our current math.h
I'm open to a cleaner solution. Maybe we should make it const, not sure though...


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/496 **Author:** [@mmuman](https://github.com/mmuman) **Created:** 1/25/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `haiku-infinity` --- ### 📝 Commits (1) - [`80c9d94`](https://github.com/google/brotli/commit/80c9d94ffbb254e9875e1676660de5c976bc1140) Haiku: force undefine INFINITY for GCC2 as it's not const ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `enc/backward_references.c` (+4 -0) </details> ### 📄 Description It's defined as a non-const inline union... cf. [our current math.h](http://cgit.haiku-os.org/haiku/tree/headers/posix/math.h#n68) I'm open to a cleaner solution. Maybe we should make it const, not sure though... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:52:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1135