Ticket #5719: haiku_clang_patch.diff

File haiku_clang_patch.diff, 426 bytes (added by TechnoMancer, 12 years ago)

patch for supporting clang

  • headers/posix/size_t.h

     
    77
    88#include <stddef.h>
    99
     10//fix for clang
     11#ifdef __clang__
     12typedef long signed int     ssize_t;
     13#endif
     14
    1015/* TODO: ATM gcc's stddef.h defines ssize_t for BeOS.h. We should fix this.
    1116 * typedef long signed int      ssize_t; */
    1217