Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Vorbis Vorbis
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • VorbisVorbis
  • Issues
  • #233

Closed
Open
Created Aug 26, 2002 by xaviergonz@xaviergonz

Improved DJGPP support

By performing the following changes, a better DJGPP support can be achieved:

libogg:

Open up the file /include/ogg/os_types.h, and near the end, right after the 
OS/2 GCC #elif, add the following:

#elif defined (DJGPP)

   /* DJGPP */
   typedef short ogg_int16_t;
   typedef int ogg_int32_t;
   typedef unsigned int ogg_uint32_t;
   typedef long long ogg_int64_t;


libvorbis, libvorbisenc, libvorbisfile:

Open up the file /lib/os.h, and near the end, right before the last
#endif, add the following code:

#ifdef DJGPP
#  define rint(x)   (floor((x)+0.5f))
#endif


Now with proper makefiles, the sources can be compiled properly under DJGPP. (I 
tested it and it works under DJGPP once compiled that way)

Thanks for your time
Assignee
Assign to
Time tracking