Fix Linux compile errors.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@150 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2010-12-07 01:30:26 +00:00
parent e826c9b1a0
commit 871a8a7770
54 changed files with 84 additions and 53 deletions

View File

@ -134,7 +134,7 @@ def make_cpptoc_impl(header, clsname, impl):
const += '}\n\n'+ \
'#ifdef _DEBUG\n'+ \
'long CefCppToC<'+clsname+'CppToC, '+clsname+', '+capiname+'>::DebugObjCt = 0;\n'+ \
'template<> long CefCppToC<'+clsname+'CppToC, '+clsname+', '+capiname+'>::DebugObjCt = 0;\n'+ \
'#endif\n'
result += wrap_code(const)
@ -142,7 +142,7 @@ def make_cpptoc_impl(header, clsname, impl):
def write_cpptoc_impl(header, clsname, dir, backup):
file = dir+'\\'+get_capi_name(clsname[3:], False)+'_cpptoc.cc'
file = dir+os.sep+get_capi_name(clsname[3:], False)+'_cpptoc.cc'
if file_exists(file):
oldcontents = read_file(file)