Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pygccxml/parser/source_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def __create_command_line_castxml(self, source_file, xmlfile):

# Platform specific options
if platform.system() == 'Windows':

if "mingw" or "g++" or "gcc" in self.__config.compiler_path.lower():
compilers = ("mingw" or "g++" or "gcc")
if compilers in self.__config.compiler_path.lower():
# Look at the compiler path. This is a bad way
# to find out if we are using mingw; but it
# should probably work in most of the cases
Expand Down