Skip to content

Commit

Permalink
(cleanup) cleanup fix as per Patrick feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
CrimsonJacket committed Apr 2, 2021
1 parent 7295036 commit 3e371c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# for C/ObjC but not for C++
class BuildExt(build_ext):
def build_extensions(self):
if '-Wstrict-prototypes' in self.compiler.compiler_so:
if os.name != "nt" and '-Wstrict-prototypes' in self.compiler.compiler_so:
self.compiler.compiler_so.remove('-Wstrict-prototypes')
super().build_extensions()

Expand Down Expand Up @@ -176,7 +176,7 @@ def main():
"bin/hummingbot.py",
"bin/hummingbot_quickstart.py"
],
cmdclass={'build_ext': BuildExt} if os.name != "nt" else {},
cmdclass={'build_ext': BuildExt},
)


Expand Down

0 comments on commit 3e371c2

Please sign in to comment.