diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2008-03-20 05:55:56 +0300 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2008-03-20 05:55:56 +0300 |
commit | b6f8240fa03c4efcf89c335fe5f9db3c9a1480d7 (patch) | |
tree | 61a48ee9bda8b9c469d54e71f19129b74c30c645 /winsup/mingw/mingwex/gdtoa/gdtoaimp.h | |
parent | 197dffcbd697a3beb0ee62f76fb053b4ed21f0e2 (diff) |
2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
* mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
(x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
Diffstat (limited to 'winsup/mingw/mingwex/gdtoa/gdtoaimp.h')
-rwxr-xr-x | winsup/mingw/mingwex/gdtoa/gdtoaimp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/mingw/mingwex/gdtoa/gdtoaimp.h b/winsup/mingw/mingwex/gdtoa/gdtoaimp.h index b27524e7f..04e625cff 100755 --- a/winsup/mingw/mingwex/gdtoa/gdtoaimp.h +++ b/winsup/mingw/mingwex/gdtoa/gdtoaimp.h @@ -2,7 +2,7 @@ The author of this software is David M. Gay. -Copyright (C) 1998-2000 by Lucent Technologies +Copyright (C) 1998-2008 by Lucent Technologies All Rights Reserved Permission to use, copy, modify, and distribute this software and @@ -172,6 +172,7 @@ THIS SOFTWARE. #define INFNAN_CHECK 1 #define MULTIPLE_THREADS 1 +#define USE_LOCALE 1 #ifdef DEBUG #include <stdio.h> |