[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add xwidget webkit support for macOS Cocoa

From: Paul Eggert
Subject: Re: [PATCH] Add xwidget webkit support for macOS Cocoa
Date: Sat, 25 May 2019 23:02:10 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

조성빈 wrote:

Can you give some candidates to use?

Perhaps the 'message' function?

+#if defined (USE_GTK)
  #if WEBKIT_CHECK_VERSION (2, 21, 1) && GNUC_PREREQ (4, 2, 0)
  # pragma GCC diagnostic ignored "-Wdeprecated-declarations"

Use just one "#if" rather than nested ones.

That one was because the macro WEBKIT_CHECK_VERSION is only defined in GTK 
webkit... Last time I looked, I remember being puzzled because C preprocessor 
didn’t do proper short circuiting?̊̈ I’ll try that again.

Oh, you're right. Please ignore my suggestion there.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]