cvs: php-src /ext/oci8 php_oci8_int.h
| From: | Antony Dovgal | Date: | Tue, 06 Sep 2005 21:11:22 +0000 |
| Subject: | cvs: php-src /ext/oci8 php_oci8_int.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33826@lists.php.net to get a copy of this message | ||
tony2001 Tue Sep 6 17:11:22 2005 EDT
Modified files:
/php-src/ext/oci8 php_oci8_int.h
Log:
workaround for some b0rked compilers
http://cvs.php.net/diff.php/php-src/ext/oci8/php_oci8_int.h?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/oci8/php_oci8_int.h
diff -u php-src/ext/oci8/php_oci8_int.h:1.1 php-src/ext/oci8/php_oci8_int.h:1.2
--- php-src/ext/oci8/php_oci8_int.h:1.1 Tue Sep 6 15:31:59 2005
+++ php-src/ext/oci8/php_oci8_int.h Tue Sep 6 17:11:19 2005
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_oci8_int.h,v 1.1 2005/09/06 19:31:59 tony2001 Exp $ */
+/* $Id: php_oci8_int.h,v 1.2 2005/09/06 21:11:19 tony2001 Exp $ */
#undef HAVE_OCI_STMT_PREPARE2
@@ -193,14 +193,20 @@
} php_oci_out_column; /* }}} */
/* {{{ macros */
+
+#ifdef PHP_WIN32
+#define PHP_OCI_CALL(func, params) \
+ func params; \
+ if (OCI_G(debug_mode)) { \
+ php_printf ("OCI8 DEBUG: " #func " at (%s:%d) \n", __FILE__, __LINE__); \
+ }
+#else
#define PHP_OCI_CALL(func, params) \
func params; \
if (OCI_G(debug_mode)) { \
php_printf ("OCI8 DEBUG: " #func " in %s() (%s:%d) \n", __FUNCTION__,
__FILE__, __LINE__); \
}
-/*
-\
-*/
+#endif
#define PHP_OCI_HANDLE_ERROR(connection, errcode) \
{ \