Commit b61ce0fc authored by darin's avatar darin

Reviewed and enhanced by Darin.

        Compilation fixes for Linux/Gdk.

        * WebCore/platform/FontData.h: Added forward declaration of a class.
        * WebCore/platform/cairo/GraphicsContextCairo.cpp: Fixed case on include.
        * WebCore/bindings/js/kjs_html.cpp: Added <math.h> include.

        * WebCore/css/maketokenizer: Fixed incorrect check for Linux that was
        already true even on Mac OS X. Added some additional includes and
        defines to the Linux extra generated code.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ecc7c19e
2006-06-30 Mike Emmel <mike.emmel@gmail.com>
Reviewed and enhanced by Darin.
Compilation fixes for Linux/Gdk.
* WebCore/platform/FontData.h: Added forward declaration of a class.
* WebCore/platform/cairo/GraphicsContextCairo.cpp: Fixed case on include.
* WebCore/bindings/js/kjs_html.cpp: Added <math.h> include.
* WebCore/css/maketokenizer: Fixed incorrect check for Linux that was
already true even on Mac OS X. Added some additional includes and
defines to the Linux extra generated code.
2006-06-30 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Hyatt.
......
......@@ -73,6 +73,7 @@
#include "kjs_events.h"
#include "kjs_proxy.h"
#include "kjs_window.h"
#include <math.h>
#include "kjs_html.lut.h"
......
......@@ -46,8 +46,12 @@ END
# Not sure what the earliest version with the defines is
# Using the OS for now
$os=`uname`;
if( $os = ~/Linux/ ) {
print<<END
if ($os =~ /Linux/) {
print<<END
#include "CSSGrammar.h"
#define INITIAL 0
#define mediaquery 1
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
......
......@@ -34,10 +34,10 @@
enum Pitch { UnknownPitch, FixedPitch, VariablePitch };
namespace WebCore
{
namespace WebCore {
class FontDescription;
class FontPlatformData;
class WidthMap;
......
......@@ -31,7 +31,7 @@
#include "IntRect.h"
#include <cairo.h>
#include <math.h>
#include <wtf/mathextras.h>
#include <wtf/MathExtras.h>
#if WIN32
#include <cairo-win32.h>
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment