summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-17 09:59:41 +1100
committerDamien Miller <djm@mindrot.org>2000-01-17 09:59:41 +1100
commit834171ebca28881a55f8d624d95e6a5305948fd8 (patch)
treed6de56df4c9dfe54768041b5aa155fc618fd3945 /defines.h
parentb9b94a74e6770fdf4aaae47ac82d9a7dcf20611b (diff)
- Revert __snprintf -> snprintf aliasing. Apparently Solaris
__snprintf isn't. Report from Theo de Raadt <theo@cvs.openbsd.org>
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/defines.h b/defines.h
index 9c88f2e8..7cd9b80e 100644
--- a/defines.h
+++ b/defines.h
@@ -236,13 +236,4 @@ typedef unsigned int size_t;
# define PAM_STRERROR(a,b) pam_strerror((a),(b))
#endif
-/* Solaris doesn't have a public [v]snprintf() function, but it has */
-/* __[v]snprintf() */
-#if !defined(HAVE_SNPRINTF) && defined(HAVE___SNPRINTF)
-# define snprintf __snprintf
-#endif /* !defined(HAVE_SNPRINTF) && defined(HAVE___SNPRINTF) */
-#if !defined(HAVE_VSNPRINTF) && defined(HAVE___VSNPRINTF)
-# define vsnprintf __vsnprintf
-#endif /* !defined(HAVE_VSNPRINTF) && defined(HAVE___VSNPRINTF) */
-
#endif /* _DEFINES_H */