diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-17 13:53:14 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-17 13:53:14 -0700 |
commit | b8af9aa522935e7c261e8b4464dd2f4d0c972a14 (patch) | |
tree | f37823084167eef2f01238e658e6d4be05fdadc0 /nasmlib.h | |
parent | 2ced2ec3709d8cbcbb80d51f23092af260258cd1 (diff) | |
download | nasm-b8af9aa522935e7c261e8b4464dd2f4d0c972a14.tar.gz |
Cleaner way to handle MSVC's _snprintf() underscore damage
Some versions of MSVC have snprintf() and vsnprintf() only with a
leading underscore. Handle that a bit more cleanly.
Diffstat (limited to 'nasmlib.h')
-rw-r--r-- | nasmlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ #include <inttypes.h> #include <stdio.h> +#include "compiler.h" /* * If this is defined, the wrappers around malloc et al will |