From 4057a9210d701f2ee402c6d736802a40cce20019 Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 28 Mar 2017 09:37:11 -0700 Subject: [PATCH] Update util.cpp --- source/sqlsrv/util.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/sqlsrv/util.cpp b/source/sqlsrv/util.cpp index a274e225..2c73da9a 100644 --- a/source/sqlsrv/util.cpp +++ b/source/sqlsrv/util.cpp @@ -680,6 +680,8 @@ PHP_FUNCTION( sqlsrv_get_config ) namespace { +// Workaround for name collision problem between the SQLSRV and PDO_SQLSRV drivers on Mac +// Place get_error_message into the anonymous namespace in util.cpp sqlsrv_error_const* get_error_message( unsigned int sqlsrv_error_code ) { sqlsrv_error_const *error_message = NULL;