New function. Returns the Windows version code like GetVersion(), except
authorTor Lillqvist <tml@iki.fi>
Wed, 25 Aug 2004 15:32:50 +0000 (15:32 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 25 Aug 2004 15:32:50 +0000 (15:32 +0000)
commit1de0e063fec8d7cd2fdc2bac9d2eeaee54dfbc69
tree1f7c8efe0a8a741a4c19f9aeef36f5a5e2711582
parent0d0f7c9c98acecabf91abbca6f874b6f2a3eb161
New function. Returns the Windows version code like GetVersion(), except

2004-08-25  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c (g_win32_get_windows_version): New
function. Returns the Windows version code like GetVersion(),
except that one can pretend to be running on Win9x by setting the
G_WIN32_PRETEND_WIN9X environment variable. This is mainly for
debugging purposed.

* glib/gwin32.h: Declare it. Define macros G_WIN32_WINDOWS_IS_NT_BASED
and G_WIN32_HAVE_WIDECHAR_API to test Windows features at run-time.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gwin32.c
glib/gwin32.h