Skip to content

Commit 451d3cd

Browse files
authored
Merge pull request #72 from thewtex/vs9
Fix _HAS_TR1=0 definition for msvc9
2 parents 1a154bc + 1a75c4c commit 451d3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygccxml/parser/source_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def __create_command_line_castxml(self, source_file, xmlfile):
133133
cmd.append('--castxml-cc-msvc ' +
134134
'"%s"' % self.__config.compiler_path)
135135
if self.__config.compiler == 'msvc9':
136-
cmd.append('-D"_HAS_TR1=0"')
136+
cmd.append('"-D_HAS_TR1=0"')
137137
else:
138138

139139
# On mac or linux, use gcc or clang (the flag is the same)

0 commit comments

Comments
 (0)