ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/build_utils/load_plat.py
(Generate patch)

Comparing ray/build_utils/load_plat.py (file contents):
Revision 1.3 by schorsch, Thu Oct 21 15:47:12 2004 UTC vs.
Revision 1.6 by schorsch, Wed Sep 14 09:28:35 2005 UTC

# Line 26 | Line 26 | def read_plat(env, args, fn):
26                  ['code',
27                          ['RAD_SPEED'],
28                          ['RAD_COMPAT', 'RAD_MEMCOMPAT', 'RAD_MATHCOMPAT', 'RAD_ARGSCOMPAT',
29 <                        'RAD_MLIB', 'RAD_PROCESS']],
29 >                        'RAD_MLIB', 'RAD_SOCKETLIB', 'RAD_PROCESS']],
30          ]
31          if args.get('RAD_DEBUG',0):
32                  vars.insert(0, ['debug'] + buildvars)
# Line 56 | Line 56 | def load_plat(env, args, platform=None):
56          if platform == None: # override
57                  p = sys.platform
58          else: p = platform
59 +        if p == 'win32' and 'gcc' in env['TOOLS']:
60 +                p = 'mingw'
61          pl = []
62          print 'Detected platform "%s" (%s).' % (sys.platform, os.name)
63          for i in [len(p), -1, -2]:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines