summaryrefslogtreecommitdiff
path: root/ext/tidy/tidy.stub.php
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-12 18:04:24 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-18 00:37:18 +0200
commitbc9497695e8d3a9fbb0a3d806598bab91926b3aa (patch)
tree6322fdf9d2bb22377ffd407f421a8bd000a8f28b /ext/tidy/tidy.stub.php
parent714c5f0b702ff9c3b575013a3b6f24d03e78fe8d (diff)
downloadphp-git-bc9497695e8d3a9fbb0a3d806598bab91926b3aa.tar.gz
Fix [-Wundef] warning in Tidy extension
Diffstat (limited to 'ext/tidy/tidy.stub.php')
-rw-r--r--ext/tidy/tidy.stub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tidy/tidy.stub.php b/ext/tidy/tidy.stub.php
index 528fe425c9..fbb11adb93 100644
--- a/ext/tidy/tidy.stub.php
+++ b/ext/tidy/tidy.stub.php
@@ -24,7 +24,7 @@ function tidy_diagnose(tidy $object): bool {}
function tidy_get_release(): string {}
-#if HAVE_TIDYOPTGETDOC
+#ifdef HAVE_TIDYOPTGETDOC
function tidy_get_opt_doc(tidy $object, string $optname): string|false {}
#endif
@@ -129,7 +129,7 @@ class tidy
*/
public function getHtmlVer() {}
-#if HAVE_TIDYOPTGETDOC
+#ifdef HAVE_TIDYOPTGETDOC
/**
* @return string|false
* @alias tidy_get_opt_doc