Commits

Anthony Tuininga committed ad0bf23

Support building 64-bit Windows services.

Comments (0)

Files changed (1)

 import distutils.command.install_data
 import distutils.sysconfig
 import os
-import struct
 import sys
 
 from distutils.core import setup
             extra_link_args = ["-mwindows"])
     extensions.append(gui)
     moduleInfo = find_cx_Logging()
-    if moduleInfo is not None and sys.version_info[:2] < (3, 0) \
-            and struct.calcsize("P") == 4:
+    if moduleInfo is not None and sys.version_info[:2] < (3, 0):
         includeDir, libraryDir = moduleInfo
         includeDirs.append(includeDir)
         service = Extension("cx_Freeze.bases.Win32Service",