Skip to content

Commit

Permalink
use proper name
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Sep 26, 2024
1 parent 8f31f34 commit 20f816f
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 @@ -77,7 +77,7 @@ def determine_generator_args():
try:
# See which compiler python picks
import distutils.ccompiler
compiler = ccompiler.new_compiler()
compiler = distutils.ccompiler.new_compiler()
compiler.initialize()

# Look at compiler path to divine the Visual Studio version.
Expand Down Expand Up @@ -377,7 +377,7 @@ def awscrt_ext():
# rare cases where that didn't happen, so let's be explicit.
extra_link_args += ['-pthread']

if sys.platform != 'win32' or ccompiler.get_default_compiler() != 'msvc':
if sys.platform != 'win32' or distutils.ccompiler.get_default_compiler() != 'msvc':
extra_compile_args += ['-Wno-strict-aliasing', '-std=gnu99']

# treat warnings as errors in development mode
Expand Down

0 comments on commit 20f816f

Please sign in to comment.