snprintf-for-aix-not-irix-20010212
authorDerrick Brashear <shadow@dementia.org>
Tue, 13 Feb 2001 03:54:04 +0000 (03:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 13 Feb 2001 03:54:04 +0000 (03:54 +0000)
Irix 6.5 has snprintf

src/util/snprintf.c

index c789dc7..4aa08b7 100644 (file)
@@ -1,7 +1,7 @@
 /* snprintf.c - Formatted, length-limited print to a string */
 
 #include <afs/param.h>
-#if defined(AFS_OSF20_ENV) || defined(AFS_SGI51_ENV)
+#if defined(AFS_OSF20_ENV) || defined(AFS_AIX32_ENV)
 
 #include <sys/types.h>
 #include <stdarg.h>
@@ -384,4 +384,4 @@ void snprintf(char *p, unsigned int avail, char *fmt, ...)
   vsnprintf(p, avail, fmt, ap);
   va_end(ap);
 }
-#endif /* AFS_OSF20_ENV || AFS_SGI51_ENV */
+#endif /* AFS_OSF20_ENV || AFS_AIX32_ENV */