X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/b37bf2e156556c589aea3e1f58a377f2b1189665..1981f5dfe8d77d97469d20652f712a09400c48ed:/API/JSStringRef.h?ds=sidebyside diff --git a/API/JSStringRef.h b/API/JSStringRef.h index fb5649f..75d73c9 100644 --- a/API/JSStringRef.h +++ b/API/JSStringRef.h @@ -1,4 +1,3 @@ -// -*- mode: c++; c-basic-offset: 4 -*- /* * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. * @@ -29,14 +28,17 @@ #include +#ifndef __cplusplus #include -#include // for size_t +#endif +#include /* for size_t */ #ifdef __cplusplus extern "C" { #endif -#if !defined(WIN32) && !defined(_WIN32) +#if !defined(WIN32) && !defined(_WIN32) \ + && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */ /*! @typedef JSChar @abstract A Unicode character. @@ -140,4 +142,4 @@ JS_EXPORT bool JSStringIsEqualToUTF8CString(JSStringRef a, const char* b); } #endif -#endif // JSStringRef_h +#endif /* JSStringRef_h */