Ignore:
Timestamp:
May 27, 2012, 3:27:59 PM (9 years ago)
Author:
livings124
Message:

update libutp, fixing #4915

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/libutp/templates.h

    r12663 r13317  
    4444}
    4545
     46#if (defined(__SVR4) && defined(__sun))
     47#pragma pack(1)
     48#else
    4649#pragma pack(push,1)
     50#endif
    4751
    4852namespace aux
     
    6973typedef big_endian<uint16> uint16_big;
    7074
     75#if (defined(__SVR4) && defined(__sun))
     76#pragma pack(0)
     77#else
    7178#pragma pack(pop)
     79#endif
    7280
    7381template<typename T> static inline void zeromem(T *a, size_t count = 1) { memset(a, 0, count * sizeof(T)); }
Note: See TracChangeset for help on using the changeset viewer.