[BACK]Return to patch-src_tools_radiant_libs_stream_textstream_h CVS log [TXT][DIR] Up to [local] / ports / games / ufoai / base / patches

Annotation of ports/games/ufoai/base/patches/patch-src_tools_radiant_libs_stream_textstream_h, Revision 1.1

1.1     ! yason       1: $OpenBSD$
        !             2: --- src/tools/radiant/libs/stream/textstream.h.orig    Thu May 19 13:54:02 2011
        !             3: +++ src/tools/radiant/libs/stream/textstream.h Thu May 19 13:55:49 2011
        !             4: @@ -46,7 +46,7 @@ inline char* write_unsigned_nonzero_decimal_backward(c
        !             5:        return ptr;
        !             6:  }
        !             7:
        !             8: -#if defined (_WIN64) || defined (__LP64__) || defined (__APPLE__)
        !             9: +#if defined (_WIN64) || defined (__LP64__) || defined (__APPLE__) || defined (__OpenBSD__)
        !            10:  inline char* write_size_t_nonzero_decimal_backward(char* ptr, size_t decimal) {
        !            11:        for (; decimal != 0; decimal /= 10) {
        !            12:                *--ptr = char('0' + (size_t)(decimal % 10));
        !            13: @@ -74,7 +74,7 @@ inline char* write_unsigned_nonzero_decimal_backward(c
        !            14:        return ptr;
        !            15:  }
        !            16:
        !            17: -#if defined (_WIN64) || defined (__LP64__) || defined (__APPLE__)
        !            18: +#if defined (_WIN64) || defined (__LP64__) || defined (__APPLE__) || defined (__OpenBSD__)
        !            19:  inline char* write_size_t_nonzero_decimal_backward(char* ptr, size_t decimal, bool show_positive) {
        !            20:        ptr = write_size_t_nonzero_decimal_backward(ptr, decimal);
        !            21:        if (show_positive) {
        !            22: @@ -102,7 +102,7 @@ inline char* write_unsigned_decimal_backward(char* ptr
        !            23:        return ptr;
        !            24:  }
        !            25:
        !            26: -#if defined (_WIN64) || defined (__LP64__) || defined (__APPLE__)
        !            27: +#if defined (_WIN64) || defined (__LP64__) || defined (__APPLE__) || defined (__OpenBSD__)
        !            28:  inline char* write_size_t_decimal_backward(char* ptr, size_t decimal, bool show_positive) {
        !            29:        if (decimal == 0) {
        !            30:                *--ptr = '0';
        !            31: @@ -163,7 +163,7 @@ inline TextOutputStreamType& ostream_write(TextOutputS
        !            32:        return ostream;
        !            33:  }
        !            34:
        !            35: -#if defined (_WIN64) || defined (__LP64__) || defined (__APPLE__)
        !            36: +#if defined (_WIN64) || defined (__LP64__) || defined (__APPLE__) || defined (__OpenBSD__)
        !            37:
        !            38:  /// \brief Writes a size_t \p i to \p ostream in decimal form.
        !            39:  template<typename TextOutputStreamType>

CVSweb