source: trunk/dports/www/webkit-gtk/files/patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff @ 52407

Last change on this file since 52407 was 52407, checked in by devans@…, 11 years ago

webkit-gtk:

  • update to version 1.10
  • update dependencies
  • fix Quickdraw/X11 namespace conflict in TestNetscapePlugin.cpp using method suggested by jeremyhu in #19346
  • rename variant svg_filters to filters to conform with current configure arg usage
  • retain svg_filters as stub to ease transition to filters when upgrading
File size: 744 bytes
  • WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp

    old new  
    2626 */
    2727
    2828#include "config.h"
     29
     30#define Cursor       QD_Cursor
     31#define WindowPtr    QD_WindowPtr
     32#define Picture      QD_Picture
     33#define BOOL         OSX_BOOL
     34#define EventType    HIT_EventType
     35
    2936#include "PluginObject.h"
    3037
    3138#include "npapi.h"
     
    3643#include <stdio.h>
    3744#include <string.h>
    3845#include <stdlib.h>
     46
     47#undef Cursor
     48#undef WindowPtr
     49#undef Picture
     50#undef BOOL
     51#undef EventType
     52
    3953#include <X11/Xlib.h>
    4054
    4155static void log(NPP instance, const char* format, ...)
Note: See TracBrowser for help on using the repository browser.