summaryrefslogtreecommitdiff
path: root/netdissect-stdinc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-29 13:55:08 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-29 13:55:08 -0800
commit1e120597d2cb5864d52ca99ca6e167f2454c3153 (patch)
treef909bb630d4f3d8ef94fa57dd4f6d17e90b9a638 /netdissect-stdinc.h
parentb5e459c67f3e5925df2b1978af77bfc532c7eeea (diff)
downloadtcpdump-1e120597d2cb5864d52ca99ca6e167f2454c3153.tar.gz
Don't define {v}snprintf() as _{v}snprintf(); they're not the same.
They don't behave exactly like ISO C {v}snprintf(), so, on Windows, we have wrappers around _{v}snprintf() that behave the way {v}snprintf() are supposed to work.
Diffstat (limited to 'netdissect-stdinc.h')
-rw-r--r--netdissect-stdinc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/netdissect-stdinc.h b/netdissect-stdinc.h
index 84f726a4..5437f32e 100644
--- a/netdissect-stdinc.h
+++ b/netdissect-stdinc.h
@@ -260,8 +260,6 @@ typedef char* caddr_t;
#endif /* caddr_t */
#define MAXHOSTNAMELEN 64
-#define snprintf _snprintf
-#define vsnprintf _vsnprintf
#else /* _WIN32 */