scons: fix remaining issues that was not covered by r33560, patch by Bo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33562 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-02-25 02:09:04 +00:00
parent 3fce202517
commit d4b5638fcb
2 changed files with 5 additions and 4 deletions

View File

@ -834,10 +834,10 @@ else:
# check the size of wchar_t
sizeof_wchar_t = conf.CheckSizeOfWChar()
# something wrong
#if sizeof_wchar_t == 0:
# print 'Error: Can not determine the size of wchar_t.'
# print 'Please check config.log for more information.'
# Exit(1)
if sizeof_wchar_t == 0:
print 'Error: Can not determine the size of wchar_t.'
print 'Please check config.log for more information.'
Exit(1)
# fill in the version info

View File

@ -440,6 +440,7 @@ int main() {
def checkSizeOfWChar(conf):
''' check the size of wchar '''
check_sizeof_wchar = '''
#include <wchar.h>
int i[ ( sizeof(wchar_t)==%d ? 1 : -1 ) ];
int main()
{