From 92c5bdbc194f0533ceee7492afc8a2bfdf5d5da8 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Tue, 19 Jun 2001 19:44:02 +0000 Subject: [PATCH] Fixed -D emulation for symbols with a value, as specified with the define_macros Extension argument. --- Lib/distutils/mwerkscompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py index 981fd95f01d..1b416715eab 100644 --- a/Lib/distutils/mwerkscompiler.py +++ b/Lib/distutils/mwerkscompiler.py @@ -164,7 +164,7 @@ class MWerksCompiler (CCompiler) : if value is None: fp.write('#define %s\n'%name) else: - fp.write('#define %s "%s"\n'%(name, value)) + fp.write('#define %s %s\n'%(name, value)) fp.close() settings['prefixname'] = prefixname