[PECL-CVS] [pecl-database-pdo_ibm] pdo-class-8.5: Don't load arginfo for pre-8.5 for now

[email protected] (Calvin Buckley)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Calvin Buckley (NattyNarwhal)
Date: 2025-09-10T14:40:52-03:00

Commit: https://github.com/php/pecl-database-pdo_ibm/commit/de343f2303464491ac7cdf3449b8489f1b60e8af
Raw diff: https://github.com/php/pecl-database-pdo_ibm/commit/de343f2303464491ac7cdf3449b8489f1b60e8af.diff

Don't load arginfo for pre-8.5 for now

Changed paths:
  M  pdo_ibm.c


Diff:

diff --git a/pdo_ibm.c b/pdo_ibm.c
index 8670de3..394ff75 100644
--- a/pdo_ibm.c
+++ b/pdo_ibm.c
@@ -30,7 +30,8 @@
 #include "php_pdo_ibm.h"
 #include "php_pdo_ibm_int.h"
 
-#if PHP_MAJOR_VERSION >= 8
+/* The class constants are only useful on 8,4/8.5+ */
+#if PHP_VERSION_ID >= 80500
 #include "pdo_ibm_arginfo.h"
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.