[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Wed Apr 7 23:02:03 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 084cd7bc8806486a0e92f1aa9d931f86a82c658c
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Oct 23 19:23:01 2009 +0000

    2009-10-23  Janne Koskinen  <janne.p.koskinen at digia.com>
    
            Reviewed by Tor Arne Vestbø.
    
            [Qt] don't undef NULL in Symbian emulator
    
            npapi.h way of defining mwerks compiler,__intel__
            and win32 are all true for Symbian emulator.
            Changed the definions so that NULL won't be undefined
            when compiling for Symbian emulator nor target HW.
    
            * bridge/npapi.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49987 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 911f725..f7ecba0 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -2,6 +2,19 @@
 
         Reviewed by Tor Arne Vestbø.
 
+        [Qt] don't undef NULL in Symbian emulator
+
+        npapi.h way of defining mwerks compiler,__intel__
+        and win32 are all true for Symbian emulator.
+        Changed the definions so that NULL won't be undefined
+        when compiling for Symbian emulator nor target HW.
+
+        * bridge/npapi.h:
+
+2009-10-23  Janne Koskinen  <janne.p.koskinen at digia.com>
+
+        Reviewed by Tor Arne Vestbø.
+
         [Qt] Correct linking of sqlite3 for Symbian
         https://bugs.webkit.org/show_bug.cgi?id=30569
 
diff --git a/WebCore/bridge/npapi.h b/WebCore/bridge/npapi.h
index d57b76d..c6cd557 100644
--- a/WebCore/bridge/npapi.h
+++ b/WebCore/bridge/npapi.h
@@ -56,6 +56,12 @@
 #    endif /* XP_WIN */
 #endif /* _WIN32 */
 
+#ifdef __SYMBIAN32__
+#   ifndef XP_SYMBIAN
+#       define XP_SYMBIAN 1
+#   endif
+#endif  /* __SYMBIAN32__ */
+
 #ifdef __MWERKS__
 #    define _declspec __declspec
 #    ifdef macintosh
@@ -64,20 +70,15 @@
 #        endif /* XP_MAC */
 #    endif /* macintosh */
 #    ifdef __INTEL__
-#        undef NULL
-#        ifndef XP_WIN
-#            define XP_WIN 1
-#        endif /* __INTEL__ */
-#    endif /* XP_PC */
+#       ifndef XP_SYMBIAN
+#           undef NULL
+#           ifndef XP_WIN
+#               define XP_WIN 1
+#           endif /* XP_WIN */
+#       endif /* XP_SYMBIAN */
+#    endif /* __INTEL__ */
 #endif /* __MWERKS__ */
 
-#ifdef __SYMBIAN32__
-#   ifndef XP_SYMBIAN
-#       define XP_SYMBIAN 1
-#       undef XP_WIN
-#   endif
-#endif  /* __SYMBIAN32__ */
-
 #if defined(__APPLE_CC__) && !defined(__MACOS_CLASSIC__) && !defined(XP_UNIX)
 #   define XP_MACOSX
 #endif

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list