Ignore:
Timestamp:
Aug 3, 2010, 2:01:12 PM (15 years ago)
Author:
[email protected]
Message:

Try to fix Windows build: Don't use GCActivityCallbackCF on Windows, since
PLATFORM(CF) is not defined on Windows.

We'll need to enable the GC activity callback some other way, but this
change should get the build back to normal.

  • runtime/GCActivityCallbackCF.cpp: Make it easier to detect this error

in the future with an explicit error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/GCActivityCallbackCF.cpp

    r64585 r64587  
    3232#include "Collector.h"
    3333#include "JSLock.h"
     34#include <CoreFoundation/CoreFoundation.h>
    3435
    35 #if PLATFORM(CF)
    36 #include <CoreFoundation/CoreFoundation.h>
     36#if !PLATFORM(CF)
     37#error "This file should only be used on CF platforms."
     38#endif
    3739
    3840namespace JSC {
     
    7981
    8082}
    81 
    82 #endif
Note: See TracChangeset for help on using the changeset viewer.