mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +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
|
# check the size of wchar_t
|
||||||
sizeof_wchar_t = conf.CheckSizeOfWChar()
|
sizeof_wchar_t = conf.CheckSizeOfWChar()
|
||||||
# something wrong
|
# something wrong
|
||||||
#if sizeof_wchar_t == 0:
|
if sizeof_wchar_t == 0:
|
||||||
# print 'Error: Can not determine the size of wchar_t.'
|
print 'Error: Can not determine the size of wchar_t.'
|
||||||
# print 'Please check config.log for more information.'
|
print 'Please check config.log for more information.'
|
||||||
# Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
|
|
||||||
# fill in the version info
|
# fill in the version info
|
||||||
|
@ -440,6 +440,7 @@ int main() {
|
|||||||
def checkSizeOfWChar(conf):
|
def checkSizeOfWChar(conf):
|
||||||
''' check the size of wchar '''
|
''' check the size of wchar '''
|
||||||
check_sizeof_wchar = '''
|
check_sizeof_wchar = '''
|
||||||
|
#include <wchar.h>
|
||||||
int i[ ( sizeof(wchar_t)==%d ? 1 : -1 ) ];
|
int i[ ( sizeof(wchar_t)==%d ? 1 : -1 ) ];
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user