summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2010-01-13 04:44:28 +0000
committerPeter Johnson <peter@tortall.net>2010-01-13 04:44:28 +0000
commite7185d2e24047e6af72911687f535562286a7fc5 (patch)
tree8dcb871c2d1df0c6face3006395519acfb744235 /util.h
parentcc6301d9ced4800c0b7e7773868d5e6b719b45eb (diff)
downloadyasm-e7185d2e24047e6af72911687f535562286a7fc5.tar.gz
gas-preproc.c: Use sprintf instead of snprintf.
It's impossible for a decimal long string to be longer than 64 chars. Also remove workaround for MSVC added in r2267. svn path=/trunk/yasm/; revision=2273
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/util.h b/util.h
index 27014f73..132cba1e 100644
--- a/util.h
+++ b/util.h
@@ -117,10 +117,6 @@
# define USE_OUR_OWN_STRCASECMP
#endif
-#ifdef _MSC_VER
-# define snprintf _snprintf
-#endif
-
#include <libyasm/compat-queue.h>
#ifdef HAVE_SYS_CDEFS_H