code: def win32_checks(deflist):
      from numpy.distutils.misc_util import get_build_architecture
  
      a = get_build_architecture()
  
      # Distutils hack on AMD64 on windows
      print(
          "BUILD_ARCHITECTURE: %r, os.name=%r, sys.platform=%r"
          % (a, os.name, sys.platform)
      )
      if a == "AMD64":
          deflist.append("DISTUTILS_USE_SDK")
  
      # On win32, force long double format string to be 'g', not
      # 'Lg', since the MS runtime does not support long double whose
      # size is > sizeof(double)
      if a == "Intel" or a == "AMD64":
          deflist.append("FORCE_NO_LONG_DOUBLE_FORMATTING")
  
imports: import os
  import sys
  import sysconfig
  import pickle
  import copy
  import warnings
  import textwrap
  import glob
  from os.path import join
  from numpy.distutils import log
  from numpy.distutils.msvccompiler import lib_opts_if_msvc
  from distutils.dep_util import newer
  from sysconfig import get_config_var
  from numpy.compat import npy_load_module
  from setup_common import *
label_desc: Use image node_id 7 for calling a global function with example usage: win32_checks(deflist) without return types