mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Bodgy fix to not being able to find RADIXCHAR define, use '.' instead.
Come back to this later.
This commit is contained in:
parent
b985680de6
commit
c5e2bbdd1e
1 changed files with 5 additions and 0 deletions
|
@ -2250,8 +2250,13 @@ int _DtXlateGetXlateEnv(
|
|||
#error OSMAJORVERSION and/or OSMINORVERSION not defined
|
||||
#endif
|
||||
|
||||
#if defined(linux)
|
||||
sprintf(buf,"%s%s%s", STR(OSMAJORVERSION),
|
||||
nl_langinfo('.'), STR(OSMINORVERSION));
|
||||
#else
|
||||
sprintf(buf,"%s%s%s", STR(OSMAJORVERSION),
|
||||
nl_langinfo(RADIXCHAR), STR(OSMINORVERSION));
|
||||
#endif
|
||||
|
||||
*ret_XlateCompiledForOSVersion = (int) (100.0 * atof(buf));
|
||||
compver = *ret_XlateCompiledForOSVersion;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue