Bodgy fix to not being able to find RADIXCHAR define, use '.' instead.
Come back to this later.
This commit is contained in:
@@ -2250,8 +2250,13 @@ int _DtXlateGetXlateEnv(
|
|||||||
#error OSMAJORVERSION and/or OSMINORVERSION not defined
|
#error OSMAJORVERSION and/or OSMINORVERSION not defined
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(linux)
|
||||||
|
sprintf(buf,"%s%s%s", STR(OSMAJORVERSION),
|
||||||
|
nl_langinfo('.'), STR(OSMINORVERSION));
|
||||||
|
#else
|
||||||
sprintf(buf,"%s%s%s", STR(OSMAJORVERSION),
|
sprintf(buf,"%s%s%s", STR(OSMAJORVERSION),
|
||||||
nl_langinfo(RADIXCHAR), STR(OSMINORVERSION));
|
nl_langinfo(RADIXCHAR), STR(OSMINORVERSION));
|
||||||
|
#endif
|
||||||
|
|
||||||
*ret_XlateCompiledForOSVersion = (int) (100.0 * atof(buf));
|
*ret_XlateCompiledForOSVersion = (int) (100.0 * atof(buf));
|
||||||
compver = *ret_XlateCompiledForOSVersion;
|
compver = *ret_XlateCompiledForOSVersion;
|
||||||
|
|||||||
Reference in New Issue
Block a user