# [PATCH] Use HAVE_SIMPLEXML

- Thread: https://externals.io/message/2798
- Original archive: https://news-web.php.net/php.internals/2798
- Started by Sebastian Bergmann on 2003-06-25T21:14:59+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #2798 — Sebastian Bergmann — 2003-06-25T21:14:59+00:00

URL: https://externals.io/message/2798#2798

The following patch adds the use of HAVE_SIMPLEXML. Any objections?

cvs server: Diffing .
Index: simplexml.c
===================================================================
RCS file: /repository/php-src/ext/simplexml/simplexml.c,v
retrieving revision 1.41
diff -u -r1.41 simplexml.c
--- simplexml.c 14 Jun 2003 18:15:50 -0000      1.41
+++ simplexml.c 25 Jun 2003 21:13:15 -0000
@@ -22,6 +22,8 @@
  #include "config.h"
  #endif

+#if HAVE_SIMPLEXML
+
  #include "php.h"
  #include "php_ini.h"
  #include "ext/standard/info.h"
@@ -1041,6 +1043,8 @@

  }
  /* }}} */
+
+#endif /* HAVE_SIMPLEXML */

  /**
   * Local Variables:
cvs server: Diffing examples
cvs server: Diffing tests

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

         http://www.professionelle-softwareentwicklung-mit-php5.de/
