From: Dan Harkless Date: Tue, 25 Jan 2000 06:13:38 +0000 (+0000) Subject: On AIX 4.1, snprintf() is defined in libc.a but there's no prototype in X-Git-Tag: nmh-1_0~112 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=45274379ba9b2e9bb165a213bca5e5682c64cba0;hp=45274379ba9b2e9bb165a213bca5e5682c64cba0;p=mmh On AIX 4.1, snprintf() is defined in libc.a but there's no prototype in or elsewhere. Apparently it's not officially supported (though it seems to work perfectly and IBM apparently uses it in internal code). Anyhow, if we omit our own snprintf() and vsnprintf() prototypes when we HAVE_SNPRINTF, we get a billion warnings at compile time. Use the C preprocessor to preprocess stdio.h and make sure that there's actually a prototype. Define HAVE_SNPRINTF_PROTOTYPE if so, and use that to control our local prototype definition. ---