From e785329f1626ada82c726f90b56490cc092d3558 Mon Sep 17 00:00:00 2001 From: David Puglielli Date: Thu, 19 Jan 2017 16:38:40 -0800 Subject: [PATCH] Small ifdef fix --- source/pdo_sqlsrv/pdo_stmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/pdo_sqlsrv/pdo_stmt.cpp b/source/pdo_sqlsrv/pdo_stmt.cpp index c05a7540..b983890b 100644 --- a/source/pdo_sqlsrv/pdo_stmt.cpp +++ b/source/pdo_sqlsrv/pdo_stmt.cpp @@ -40,7 +40,7 @@ const int SQL_SERVER_IDENT_SIZE_MAX = 128; inline SQLSMALLINT pdo_fetch_ori_to_odbc_fetch_ori (enum pdo_fetch_orientation ori) { SQLSRV_ASSERT( ori >= PDO_FETCH_ORI_NEXT && ori <= PDO_FETCH_ORI_REL, "Fetch orientation out of range."); -#ifndef __linux__ +#ifdef _win32 OACR_WARNING_SUPPRESS( 26001, "Buffer length verified above" ); OACR_WARNING_SUPPRESS( 26000, "Buffer length verified above" ); #endif