Build fix for Cygwin relating to itoa(); add touchconfig.sh to fix buildsys file timestamps.
This commit is contained in:
parent
19aaa7111c
commit
6c7af5b060
|
@ -43,14 +43,15 @@
|
|||
#if IS_UNIX
|
||||
namespace //unique
|
||||
{
|
||||
|
||||
TCHAR* _itot( int value, TCHAR* string, int radix)
|
||||
TCHAR* tw_itot( int value, TCHAR* string, int radix)
|
||||
{
|
||||
_stprintf( string, "%d", value );
|
||||
return string;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
#define tw_itot _itot
|
||||
#endif //IS_UNIX
|
||||
|
||||
eInternal::eInternal(TCHAR* sourceFile, int lineNum)
|
||||
: eError(_T(""))
|
||||
|
@ -60,7 +61,7 @@ eInternal::eInternal(TCHAR* sourceFile, int lineNum)
|
|||
mMsg = _T("File: ");
|
||||
mMsg += sourceFile;
|
||||
mMsg += _T(" Line: ");
|
||||
mMsg += _itot(lineNum, buf, 10);
|
||||
mMsg += tw_itot(lineNum, buf, 10);
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
# On a fresh clone/checkout/untar/etc., sometimes make thinks
|
||||
# automake files are out of sync because they all have the same timestamp,
|
||||
# and insists they need to be regenerated, though they really don't.
|
||||
# This script bumps the timestamps on the right files in the right order,
|
||||
# such that they don't all match, and make can proceed on its way.
|
||||
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
|
||||
|
Loading…
Reference in New Issue