[php-src] PHP-8.2: ext/gd: Drop useless and doubtful MSVC specific code (libgd/libgd@f1480ab) (#24316)
| From: | Shivam Mathur via GitHub | Date: | Wed, 14 Oct 2026 11:50:39 +0000 |
| Subject: | [php-src] PHP-8.2: ext/gd: Drop useless and doubtful MSVC specific code (libgd/libgd@f1480ab) (#24316) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142248@lists.php.net to get a copy of this message | ||
Author: Shivam Mathur (shivammathur)
Committer: GitHub (web-flow)
Pusher: shivammathur
Date: 2026-10-14T17:20:36+05:30
Commit: https://github.com/php/php-src/commit/703ca47f1293e3720858bd32676eb921f53149d5
Raw diff: https://github.com/php/php-src/commit/703ca47f1293e3720858bd32676eb921f53149d5.diff
ext/gd: Drop useless and doubtful MSVC specific code (libgd/libgd@f1480ab) (#24316)
(cherry picked from commit 974526b244e59eb38a66bd6b44030a7c6bd5e792)
Co-authored-by: Demon <hyh19962008@gmail.com>
Changed paths:
M ext/gd/libgd/gd_interpolation.c
Diff:
diff --git a/ext/gd/libgd/gd_interpolation.c b/ext/gd/libgd/gd_interpolation.c
index 4b1583a8d6e8..fd1a386e9cf4 100644
--- a/ext/gd/libgd/gd_interpolation.c
+++ b/ext/gd/libgd/gd_interpolation.c
@@ -62,11 +62,6 @@
#include "gdhelpers.h"
#include "gd_intern.h"
-#ifdef _MSC_VER
-# pragma optimize("t", on)
-# include <emmintrin.h>
-#endif
-
#ifndef HAVE_FLOORF
# define HAVE_FLOORF 0
#endif