Ignore:
Timestamp:
Sep 16, 2009, 12:29:54 PM (16 years ago)
Author:
[email protected]
Message:

2009-09-16 Benjamin C Meyer <[email protected]>

Reviewed by Eric Seidel.

The webkit stdint and stdbool headers exists because
the compiler MSVC doesn't include them. The check
should not check for PLATFORM(WIN_OS) but for MSVC.

  • os-win32/stdbool.h:
  • os-win32/stdint.h:
File:
1 edited

Legend:

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

    r32960 r48427  
    2424#include <wtf/Platform.h>
    2525
    26 /* This file emulates enough of stdint.h on Windows to make JavaScriptCore and WebCore compile. */
     26/* This file emulates enough of stdint.h on Windows to make JavaScriptCore and WebCore
     27   compile using MSVC which does not ship with the stdint.h header. */
    2728
    28 #if !PLATFORM(WIN_OS)
    29 #error "This stdint.h file should only be compiled under Windows"
     29#if !COMPILER(MSVC)
     30#error "This stdint.h file should only be compiled with MSVC"
    3031#endif
    3132
Note: See TracChangeset for help on using the changeset viewer.