Skip to content

Instantly share code, notes, and snippets.

@krisanalfa
Created November 30, 2015 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krisanalfa/1bb09ad8f9147937bbeb to your computer and use it in GitHub Desktop.
Save krisanalfa/1bb09ad8f9147937bbeb to your computer and use it in GitHub Desktop.
PDO Patch
--- pdo_oci.c.orig 2015-11-30 10:45:22.000000000 +0700
+++ pdo_oci.c 2015-11-30 10:45:33.000000000 +0700
@@ -31,7 +31,7 @@
#include "php_pdo_oci_int.h"
/* {{{ pdo_oci_functions[] */
-function_entry pdo_oci_functions[] = {
+zend_function_entry pdo_oci_functions[] = {
{NULL, NULL, NULL}
};
/* }}} */
@@ -68,7 +68,7 @@
ZEND_GET_MODULE(pdo_oci)
#endif
-const ub4 PDO_OCI_INIT_MODE =
+const ub4 PDO_OCI_INIT_MODE =
#if 0 && defined(OCI_SHARED)
/* shared mode is known to be bad for PHP */
OCI_SHARED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment