[Groonga-commit] groonga/groonga [master] windows: add UNICODE, _UNICODE flags

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Sep 20 14:46:52 JST 2012


HAYASHI Kentaro	2012-09-20 14:46:52 +0900 (Thu, 20 Sep 2012)

  New Revision: f747be338862f890ece54b4f12daa9545de1a130
  https://github.com/groonga/groonga/commit/f747be338862f890ece54b4f12daa9545de1a130

  Log:
    windows: add UNICODE,_UNICODE flags

  Modified files:
    packages/windows/patches/mecab-0.994-mingw-cflags.diff

  Modified: packages/windows/patches/mecab-0.994-mingw-cflags.diff (+2 -2)
===================================================================
--- packages/windows/patches/mecab-0.994-mingw-cflags.diff    2012-09-20 13:06:27 +0900 (996075d)
+++ packages/windows/patches/mecab-0.994-mingw-cflags.diff    2012-09-20 14:46:52 +0900 (1fe8cd6)
@@ -5,8 +5,8 @@ diff -ur mecab-0.994.orig/configure.in mecab-0.994/configure.in
  case "$host_os" in
   mingw* | os2*)
    MECAB_DEFAULT_RC='c:\\\\Program Files\\\\mecab\\\\etc\\\\mecabrc'
-+  CFLAGS="$CFLAGS -municode"
-+  CXXFLAGS="$CXXFLAGS -municode"
++  CFLAGS="$CFLAGS -municode -DUNICODE -D_UNICODE"
++  CXXFLAGS="$CXXFLAGS -municode -DUNICODE -D_UNICODE"
    ;;
   *)
    MECAB_DEFAULT_RC="$sysconfdir/mecabrc"
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index