Windows fixes to build with MSYS2.

The path handling has been cleaned up and support for file names
longer than 256 characters.
This commit is contained in:
Chris Johns
2015-03-03 20:20:10 +11:00
parent dbb78dc854
commit a84249d261
2 changed files with 43 additions and 30 deletions

View File

@@ -67,6 +67,9 @@ def load():
else:
ncpus = '1'
if os.environ.has_key('MSYSTEM'):
os.environ.pop('NUMBER_OF_PROCESSORS')
version = uname[2]
defines = {
'_ncpus': ('none', 'none', ncpus),