HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #67

Ticket #67: speex_types.h.diff

File speex_types.h.diff, 662 bytes (added by scottmc, 7 years ago)

first crack at a diff for fixing BEOS if defs in speex

  • speex_types.

    old new  
    6464   typedef int32_t spx_int32_t; 
    6565   typedef u_int32_t spx_uint32_t; 
    6666 
    67 #elif defined(__BEOS__) 
     67#elif defined(__BEOS__) && !defined(__HAIKU__) 
    6868 
    6969   /* Be */ 
    7070#  include <inttypes.h> 
    … …  
    7373   typedef int32_t spx_int32_t; 
    7474   typedef u_int32_t spx_uint32_t; 
    7575 
     76#elif defined(__HAIKU__) 
     77 
     78   /* Haiku */ 
     79#  include <sys/types.h> 
     80   typedef short spx_int16_t; 
     81   typedef unsigned short spx_uint16_t; 
     82   typedef int spx_int32_t; 
     83   typedef unsigned int spx_uint32_t; 
     84 
    7685#elif defined (__EMX__) 
    7786 
    7887   /* OS/2 GCC */ 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/