Changeset 64720 in webkit


Ignore:
Timestamp:
Aug 5, 2010 12:36:36 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-08-05 Kwang Yul Seo <skyul@company100.net>

Reviewed by Kent Tamura.

[BREWMP] Define htonl, htons, ntohl and ntohs
https://bugs.webkit.org/show_bug.cgi?id=43397

In BREWMP, AEEStdLib.h provides macros for byte order conversion: HTONL, HTONS, NTOHL and NTOHS.
Use these macros to define htonl, htons, ntohl and ntohs used by WOFFFileFormat.cpp.

  • platform/graphics/WOFFFileFormat.cpp:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r64716 r64720  
     12010-08-05  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Kent Tamura.
     4
     5        [BREWMP] Define htonl, htons, ntohl and ntohs
     6        https://bugs.webkit.org/show_bug.cgi?id=43397
     7
     8        In BREWMP, AEEStdLib.h provides macros for byte order conversion: HTONL, HTONS, NTOHL and NTOHS.
     9        Use these macros to define htonl, htons, ntohl and ntohs used by WOFFFileFormat.cpp.
     10
     11        * platform/graphics/WOFFFileFormat.cpp:
     12
    1132010-08-04  Zoltan Herczeg  <zherczeg@webkit.org>
    214
  • trunk/WebCore/platform/graphics/WOFFFileFormat.cpp

    r64439 r64720  
    3333#if !PLATFORM(WIN)
    3434#include <zlib.h>
     35#if PLATFORM(BREWMP)
     36#include <AEEStdLib.h>
     37#define htonl(x) HTONL(x)
     38#define htons(x) HTONS(x)
     39#define ntohl(x) NTOHL(x)
     40#define ntohs(x) NTOHS(x)
     41#endif
    3542#else
    3643#include "SoftLinking.h"
Note: See TracChangeset for help on using the changeset viewer.