projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
333a411
)
Fixed *nix build.
author
Hiroshi Saito
<hiroshi@winpg.jp>
Mon, 11 Sep 2006 19:00:28 +0000
(19:00 +0000)
committer
Hiroshi Saito
<hiroshi@winpg.jp>
Mon, 11 Sep 2006 19:00:28 +0000
(19:00 +0000)
win_unicode.c
patch
|
blob
|
blame
|
history
diff --git
a/win_unicode.c
b/win_unicode.c
index fc4baa628b8e32967fc18e450e6f0f39f1eb1b9a..47ab93abed1527bf9199d80bb9bb45c5e2183cac 100644
(file)
--- a/
win_unicode.c
+++ b/
win_unicode.c
@@
-8,9
+8,17
@@
*/
#include "psqlodbc.h"
-#include <stdio.h>
-#include <string.h>
+#ifdef WIN32
+#ifdef _DEBUG
+#ifndef _MEMORY_DEBUG_
+#include <stdlib.h>
#include <malloc.h>
+#define _CRTDBG_MAP_ALLOC
+#include <crtdbg.h>
+#endif /* _MEMORY_DEBUG_ */
+#endif /* _DEBUG */
+#endif /* WIN32 */
+#include <string.h>
#define byte3check 0xfffff800
#define byte2_base 0x80c0