Win32 0.7.12 fix


Subject: Win32 0.7.12 fix
From: Mike Nordell (tamlin@algonet.se)
Date: Fri Nov 10 2000 - 06:15:50 CST


Finally!

In spell/newMain.c there is a conditional check for __GLIBC__. Now, I don't
know why this check is here, but if I replace

#ifndef __GLIBC__
# define UCS_2_INTERNAL "UCS-2-INTERNAL"
#else
# define UCS_2_INTERNAL "UCS-2"
#endif

    with

#if !defined(__GLIBC__) && !(defined(WIN32) || defined(_WIN32))
# define UCS_2_INTERNAL "UCS-2-INTERNAL"
#else
# define UCS_2_INTERNAL "UCS-2"
#endif

Win32 spell-checking works (again).

Now it doesn't seem totally unreasonable to think that this check should
really be for big/little-endian platforms. Am I completely wrong?

/Mike



This archive was generated by hypermail 2b25 : Fri Nov 10 2000 - 06:14:36 CST