Ticket #4204: gcc-4.4-compatibility.diff

File gcc-4.4-compatibility.diff, 951 bytes (added by jprostko, 15 years ago)

Fixes to Haiku code to allow it to build under GCC 4.4

  • src/apps/haiku3d/Jamfile

     
    2222    BitmapTexture.cpp
    2323    VideoFileTexture.cpp
    2424
    25     : be game GL media translation $(TARGET_LIBSUPC++)
     25    : be game GL media translation $(TARGET_LIBSTDC++)
    2626    : Haiku3d.rdef
    2727;
  • src/system/libroot/posix/glibc/include/bits/stdio-lock.h

     
    2727/* We need recursive (counting) mutexes.  */
    2828#ifdef _LIBC_LOCK_RECURSIVE_INITIALIZER
    2929# define _IO_lock_initializer _LIBC_LOCK_RECURSIVE_INITIALIZER
    30 #elif _IO_MTSAFE_IO
     30#elif defined _IO_MTSAFE_IO
    3131 #error libio needs recursive mutexes for _IO_MTSAFE_IO
    3232#endif
    3333