mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix Linux compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@150 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user