Changeset 32960 in webkit for trunk/JavaScriptCore/os-win32


Ignore:
Timestamp:
May 7, 2008, 10:16:03 AM (17 years ago)
Author:
[email protected]
Message:

2008-05-07 Julien Chaffraix <[email protected]>

Reviewed by Adam Roben.

wx & Gtk build fix.

Add SIZE_MAX definition for the wx port.

  • os-win32/stdint.h:

2008-05-07 Julien Chaffraix <[email protected]>

Reviewed by Adam Roben.

wx & Gtk build fix.

  • platform/network/curl/FormDataStreamCurl.cpp: Added stdint.h include. We need to define STDC_LIMIT_MACROS to have SIZE_MAX exported.
  • platform/network/curl/FormDataStreamCurl.h: Removed cstdint include (replaced by stdint.h) as it is not present on the build bots.
  • plugins/gtk/PluginDatabaseGtk.cpp: Added missing #endif.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/os-win32/stdint.h

    r16780 r32960  
    3030#endif
    3131
     32#include <limits.h>
     33
    3234typedef unsigned char uint8_t;
    3335typedef signed char int8_t;
     
    3840typedef __int64 int64_t;
    3941typedef unsigned __int64 uint64_t;
     42
     43#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)
     44#ifndef SIZE_MAX
     45#ifdef _WIN64
     46#define SIZE_MAX  _UI64_MAX
     47#else
     48#define SIZE_MAX  _UI32_MAX
     49#endif
     50#endif
     51#endif
    4052
    4153#ifndef CASSERT
Note: See TracChangeset for help on using the changeset viewer.