diff options
Diffstat (limited to 'numpy/random/SConscript')
-rw-r--r-- | numpy/random/SConscript | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/numpy/random/SConscript b/numpy/random/SConscript index a9bc3a599..3f17b7367 100644 --- a/numpy/random/SConscript +++ b/numpy/random/SConscript @@ -1,9 +1,11 @@ -# Last Change: Thu Jun 12 06:00 PM 2008 J +# Last Change: Wed Nov 19 09:00 PM 2008 J # vim:syntax=python import os from numscons import GetNumpyEnvironment, scons_get_mathlib +from setup import needs_mingw_ftime_workaround + def CheckWincrypt(context): from copy import deepcopy src = """\ @@ -37,6 +39,9 @@ if os.name == 'nt': if config.CheckWincrypt: config.env.AppendUnique(LIBS = 'Advapi32') +if needs_mingw_ftime_workaround(): + env.Append(CPPDEFINES=['NPY_NEEDS_MINGW_TIME_WORKAROUND']) + sources = [os.path.join('mtrand', x) for x in ['mtrand.c', 'randomkit.c', 'initarray.c', 'distributions.c']] |