Ticket #268: patch-openal.h.diff

File patch-openal.h.diff, 587 bytes (added by espes, 15 years ago)
  • source/lib/external_libraries/openal.h

     
    3131#endif
    3232
    3333// ALC strings (e.g. device and extension names) are typed differently
    34 // between platforms *sigh*
    35 #if OS_MACOSX
    36 typedef ALCubyte* alcString;
     34// between OpenAL specifications
     35#ifdef AL_VERSION_1_1
     36 typedef ALCchar* alcString;
    3737#else
    38 typedef ALCchar* alcString;
     38 typedef ALCubyte* alcString;
    3939#endif
    4040
    4141#if MSC_VERSION