Changeset 48207 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Sep 9, 2009, 7:56:12 AM (16 years ago)
Author:
Simon Hausmann
Message:

https://bugs.webkit.org/show_bug.cgi?id=29024
Make JavaScriptCore compile on platforms with case-insensitive file systems and typeinfo.h in STL

Patch by Kent Hansen <[email protected]> on 2009-09-09
Reviewed by Darin Adler.

These platforms include Microsoft Visual Studio 2003, and Symbian with Metrowerks compiler.

Location:
trunk/JavaScriptCore/runtime
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSTypeInfo.h

    r48204 r48207  
    2525 */
    2626
    27 #ifndef TypeInfo_h
    28 #define TypeInfo_h
     27#ifndef JSTypeInfo_h
     28#define JSTypeInfo_h
     29
     30// This file would be called TypeInfo.h, but that conflicts with <typeinfo.h>
     31// in the STL on systems without case-sensitive file systems.
    2932
    3033#include "JSType.h"
     
    7174}
    7275
    73 #endif // TypeInfo_h
     76#endif // JSTypeInfo_h
  • trunk/JavaScriptCore/runtime/Structure.h

    r48068 r48207  
    3333#include "StructureChain.h"
    3434#include "StructureTransitionTable.h"
    35 #include "TypeInfo.h"
     35#include "JSTypeInfo.h"
    3636#include "UString.h"
    3737#include <wtf/PassRefPtr.h>
Note: See TracChangeset for help on using the changeset viewer.