Changeset 4068

Show
Ignore:
Timestamp:
05/03/06 13:21:13 (3 years ago)
Author:
miyoshi
Message:

* mw32term.h: Include <imm.h> explicitly.
Consider HAVE_RECONVERTSTRING' to define RECONVERTSTRING'.

* configure.meadow.bat: Check if the platform has
`RECONVERTSTRING'.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/info

    • Property svn:ignore changed from
      ada-mode
      autotype
      calc
      calc-1
      calc-2
      calc-3
      calc-4
      calc-5
      calc-6
      ccmode
      cl
      dired-x
      ebrowse
      ediff
      efaq
      eintr
      eintr-1
      eintr-2
      eintr-3
      elisp
      elisp-1
      elisp-10
      elisp-11
      elisp-2
      elisp-3
      elisp-4
      elisp-5
      elisp-6
      elisp-7
      elisp-8
      elisp-9
      emacs
      emacs-1
      emacs-2
      emacs-3
      emacs-4
      emacs-5
      emacs-6
      emacs-7
      emacs-8
      emacs-mime
      emacs-xtra
      eshell
      eudc
      flymake
      forms
      gnus
      gnus-1
      gnus-2
      gnus-3
      gnus-4
      gnus-5
      idlwave
      info
      message
      mh-e
      org
      pcl-cvs
      pgg
      rcirc
      reftex
      sc
      ses
      sieve
      smtpmail
      speedbar
      tramp
      url
      vip
      viper
      widget
      woman
      newsticker
      to
      ada-mode
      autotype
      calc
      calc-1
      calc-2
      calc-3
      calc-4
      calc-5
      calc-6
      ccmode
      cl
      dired-x
      ebrowse
      ediff
      efaq
      eintr
      eintr-1
      eintr-2
      eintr-3
      elisp
      elisp-1
      elisp-10
      elisp-11
      elisp-2
      elisp-3
      elisp-4
      elisp-5
      elisp-6
      elisp-7
      elisp-8
      elisp-9
      emacs
      emacs-1
      emacs-2
      emacs-3
      emacs-4
      emacs-5
      emacs-6
      emacs-7
      emacs-8
      emacs-mime
      emacs-xtra
      eshell
      eudc
      flymake
      forms
      gnus
      gnus-1
      gnus-2
      gnus-3
      gnus-4
      gnus-5
      idlwave
      info
      message
      mh-e
      org
      pcl-cvs
      pgg
      rcirc
      reftex
      sc
      ses
      sieve
      smtpmail
      speedbar
      tramp
      url
      vip
      viper
      widget
      woman
      newsticker
      erc
      mh-e-2
      mh-e-1
  • trunk/nt/ChangeLog.Meadow

    r4067 r4068  
     12006-05-03  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * configure.meadow.bat: Check if the platform has 
     4        `RECONVERTSTRING'. 
     5 
    162006-05-02  MIYOSHI Masanori  <miyoshi@meadowy.org> 
    27 
  • trunk/nt/configure.meadow.bat

    r3879 r4068  
    297297del config.settings 
    298298 
     299rem 
     300rem check for capabilities of the platform 
     301rem  
     302 
     303echo.>>..\src\config.h 
     304echo /* Start of settings from configure.bat.  */>>..\src\config.h 
     305echo.>>..\src\config.h 
     306 
     307rem for gcc 
     308set JUNK_SRC=junk.c 
     309set CC_OPT=-DWINVER=0x0400 
     310set JUNK_OBJ=junk.o 
     311 
     312if %COMPILER%==gcc goto check_capability 
     313rem for VC 
     314set JUNK_OBJ=junk.obj 
     315set CC_OPT=-nologo %CC_OPT% 
     316 
     317:check_capability 
     318 
     319rem 
     320rem check for RECONVERTSTRING 
     321rem 
     322 
     323set TARGET=HAVE_RECONVERTSTRING 
     324echo checking for RECONVERTSTRING 
     325 
     326echo #include "windows.h" >junk.c 
     327echo #include "imm.h" >>junk.c 
     328echo main(){RECONVERTSTRING x;} >>junk.c 
     329 
     330%COMPILER% %CC_OPT% -c %JUNK_SRC% >config.capability 2>&1 
     331if exist %JUNK_OBJ% goto RECONVERTSTRING_yes 
     332echo ...no 
     333echo #undef %TARGET% >>..\src\config.h 
     334goto RECONVERTSTRING_cnt 
     335 
     336:RECONVERTSTRING_yes 
     337echo ...yes 
     338echo #define %TARGET% >>..\src\config.h 
     339 
     340:RECONVERTSTRING_cnt 
     341rm -f %JUNK_SRC% %JUNK_OBJ% 
     342 
     343echo.>>..\src\config.h 
     344echo /* End of settings from configure.bat.  */>>..\src\config.h 
     345 
     346rm config.capability 
     347 
     348rem 
     349rem end of checking for capabilities 
     350rem  
     351 
    299352Rem Some people use WinZip which doesn't create empty directories! 
    300353if not exist ..\site-lisp\nul mkdir ..\site-lisp\ 
  • trunk/src/mw32term.h

    r4065 r4068  
    3131#include <w32api.h> 
    3232#endif /* __MINGW32__ */ 
     33#ifdef IME_CONTROL 
     34#include <imm.h> 
     35#endif 
    3336 
    3437/* The class of this application.  */ 
     
    858861#endif 
    859862 
    860 #if (!defined (_IMM_) || (WINVER < 0x040A)) && (!defined(__MINGW32__) || !defined(_IMM_H) || __W32API_MAJOR_VERSION < 3 || __W32API_MAJOR_VERSION == 3 && __W32API_MINOR_VERSION < 7) 
     863#ifndef HAVE_RECONVERTSTRING 
    861864typedef struct tagRECONVERTSTRING { 
    862865  DWORD dwSize;