Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Ogg
Ogg
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Xiph.Org
  • OggOgg
  • Issues
  • #289

Closed
Open
Opened Nov 28, 2002 by Gitlab Bot@GitlabBotDeveloper

[PATCH] MacOS building of ogg & vorbis somewhat 'hacky'

This is my first submission, so bear with me. ;)  I'm working with the Torque 
Game Engine (garagegames.com), and have a number of Mac projects trying to use 
oggvorbis audio support.  It has been a bit of a pain.

os_types.h uses two explicit macros to shunt MacOS and MacOSX builds.  I've 
locally worked up a solution that does the 'proper' detection of compiler(s) as 
an peer solution.

In addition, the other 'hacky' piece is that ogg uses a 'fake' sys/types.h file 
in order to compile.  But any project trying to build against just the base 
headers will then fail under Codewarrior/Mac (under GCC/Project Builder, a real 
sys/types.h exists...).  My solution was to inline the types, which should be 
safe on the Mac given any Codewarrior from the last few years.

I'd love to get this, and other, Mac-side enhancements checked into the 
mainline tree to try to improve the 'Mac user experience'.  (Other things I've 
done, and could clean up for submission, include a Carbon-safe build.)

Regards,

David Chait
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/ogg#289