mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
3fce202517
commit
d4b5638fcb
@ -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
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user