summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorStanislav Karchebny <berkus@users.sourceforge.net>2003-09-25 11:43:28 +0000
committerStanislav Karchebny <berkus@users.sourceforge.net>2003-09-25 11:43:28 +0000
commitd52236c00efb0d198b71d1ac6e83182095563f4a (patch)
tree5e1eb711136d3e7556905630543029bc44072883 /nasm.c
parent5e8f36611f0d2543aa4f2cb5da02892b83c6994a (diff)
downloadnasm-d52236c00efb0d198b71d1ac6e83182095563f4a.tar.gz
nasm-d52236c00efb0d198b71d1ac6e83182095563f4a.tar.bz2
nasm-d52236c00efb0d198b71d1ac6e83182095563f4a.zip
Revert erroneous macro added and modify __OUTPUT_FORMAT__ to a string const
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.c b/nasm.c
index e6be925..1744117 100644
--- a/nasm.c
+++ b/nasm.c
@@ -185,7 +185,7 @@ int main(int argc, char **argv)
/* define some macros dependent of command-line */
{
char temp [64];
- sprintf (temp, "__OUTPUT_FORMAT__=%s\n", ofmt->shortname);
+ sprintf (temp, "__OUTPUT_FORMAT__='%s'\n", ofmt->shortname);
pp_pre_define (temp);
}