summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorBruce Momjian1998-10-06 03:02:29 +0000
committerBruce Momjian1998-10-06 03:02:29 +0000
commite1ebac319d1491e54dd8e3e457d48aa766771366 (patch)
tree48a57b8f779c2b8a1d68ef953f4b173168d5c3a6 /src/bin
parentc77a29a14efe69851a087989e3520ed560fa8862 (diff)
Here are the patches against the current source tree. I have run the
regression test on a FreeBSD box with both non-MULTIBYTE and MULTIBYTE-enabled, and confirmed that the results are same. However I do not tested on PCs(I don't have access to win). Please let me know if the patches break anything on PCs. Also please note that the patch for varchar.c is a fix for a nasty bug of char(n) types that I introduced and I believe at least this should be applied. Tatsuo Ishii
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/psql/win32.mak8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/psql/win32.mak b/src/bin/psql/win32.mak
index f414594e18b..65d7e192136 100644
--- a/src/bin/psql/win32.mak
+++ b/src/bin/psql/win32.mak
@@ -29,6 +29,14 @@ CLEAN :
CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D\
"_MBCS" /Fp"$(INTDIR)\psql.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c \
/I ..\..\include /I ..\..\interfaces\libpq
+
+!IFDEF MULTIBYTE
+!IFNDEF MBFLAGS
+MBFLAGS="-DMULTIBYTE=$(MULTIBYTE)"
+!ENDIF
+CPP_PROJ=$(MBFLAGS) $(CPP_PROJ)
+!ENDIF
+
CPP_OBJS=.\Release/
CPP_SBRS=.