Changeset 30192 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Feb 13, 2008, 4:10:00 AM (17 years ago)
Author:
Darin Adler
Message:

Reviewed by Darin.

  • kjs/interpreter.cpp: Add include of <unistd.h>, since that's where getpid() comes from.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r30191 r30192  
     12008-02-13  Bernhard Rosenkraenzer  <[email protected]>
     2
     3        Reviewed by Darin.
     4
     5        - http://bugs.webkit.org/show_bug.cgi?id=17339
     6          JavaScriptCore does not build with gcc 4.3
     7
     8        * kjs/interpreter.cpp: Add include of <unistd.h>, since that's where
     9        getpid() comes from.
     10
    1112008-02-13  Oliver Hunt  <[email protected]>
    212
  • trunk/JavaScriptCore/kjs/interpreter.cpp

    r29810 r30192  
    1 // -*- c-basic-offset: 2 -*-
    21/*
    3  *  This file is part of the KDE libraries
    42 *  Copyright (C) 1999-2001 Harri Porten ([email protected])
    53 *  Copyright (C) 2001 Peter Kelly ([email protected])
     
    5351#include <stdio.h>
    5452#include <wtf/Assertions.h>
     53
     54#if !PLATFORM(WIN_OS)
     55#include <unistd.h>
     56#endif
    5557
    5658namespace KJS {
     
    147149bool Interpreter::shouldPrintExceptions()
    148150{
    149   return printExceptions;
     151    return printExceptions;
    150152}
    151153
    152154void Interpreter::setShouldPrintExceptions(bool print)
    153155{
    154   printExceptions = print;
     156    printExceptions = print;
    155157}
    156158
Note: See TracChangeset for help on using the changeset viewer.