X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/b37bf2e156556c589aea3e1f58a377f2b1189665..fb8617cde5834786bd4e4afd579883e4acf5666e:/API/JSStringRef.h diff --git a/API/JSStringRef.h b/API/JSStringRef.h index fb5649f..c58b958 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,16 @@ #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(__WINSCW__) /*! @typedef JSChar @abstract A Unicode character. @@ -140,4 +141,4 @@ JS_EXPORT bool JSStringIsEqualToUTF8CString(JSStringRef a, const char* b); } #endif -#endif // JSStringRef_h +#endif /* JSStringRef_h */