summaryrefslogtreecommitdiff
path: root/ext/oci8/php_oci8_int.h
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-30 17:37:44 -0700
committerChristopher Jones <sixd@php.net>2013-08-30 17:37:44 -0700
commitd7ffca590b4ee188a5dcdbafb036e6541f3c79be (patch)
treed1e91dec36129770fd04d9d479b00a3f47a51315 /ext/oci8/php_oci8_int.h
parent82da51bbce7e25a7f24d97522617c62060423776 (diff)
downloadphp-git-d7ffca590b4ee188a5dcdbafb036e6541f3c79be.tar.gz
Allow OCI8 to be DTrace-enabled independently of core PHP's DTrace
status. The proviso is OCI8 must be built "shared" when DTrace is enabled. This implementation (i) works around an incomplete core PHP solution for extension tracing (ii) avoid any issues with DOF section location and the complexities of needing to merge all provider .d files for static builds (iii) allows OCI8 to be DTrace-enabled when doing PECL installs of OCI8 on PHP versions without core PHP DTrace support. This is an initial patch i.e. it will undergo further testing.
Diffstat (limited to 'ext/oci8/php_oci8_int.h')
-rw-r--r--ext/oci8/php_oci8_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/php_oci8_int.h b/ext/oci8/php_oci8_int.h
index ac58145f44..24d80a8163 100644
--- a/ext/oci8/php_oci8_int.h
+++ b/ext/oci8/php_oci8_int.h
@@ -44,7 +44,7 @@
# endif
# endif /* osf alpha */
-#ifdef HAVE_DTRACE
+#ifdef HAVE_OCI8_DTRACE
#include "oci8_dtrace_gen.h"
#endif