From ebb535d761675e57cf376f3cd1ee169a01bd2af8 Mon Sep 17 00:00:00 2001 From: Hiroshi Saito Date: Mon, 11 Sep 2006 19:00:28 +0000 Subject: [PATCH] Fixed *nix build. --- win_unicode.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/win_unicode.c b/win_unicode.c index fc4baa6..47ab93a 100644 --- a/win_unicode.c +++ b/win_unicode.c @@ -8,9 +8,17 @@ */ #include "psqlodbc.h" -#include -#include +#ifdef WIN32 +#ifdef _DEBUG +#ifndef _MEMORY_DEBUG_ +#include #include +#define _CRTDBG_MAP_ALLOC +#include +#endif /* _MEMORY_DEBUG_ */ +#endif /* _DEBUG */ +#endif /* WIN32 */ +#include #define byte3check 0xfffff800 #define byte2_base 0x80c0 -- 2.39.5