summaryrefslogtreecommitdiff
path: root/main/snprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/snprintf.h')
-rw-r--r--main/snprintf.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/main/snprintf.h b/main/snprintf.h
index 76b7b6a6ca..a6d98793b2 100644
--- a/main/snprintf.h
+++ b/main/snprintf.h
@@ -64,20 +64,14 @@ Example:
#ifndef SNPRINTF_H
#define SNPRINTF_H
-#if !defined(HAVE_SNPRINTF) || PHP_BROKEN_SNPRINTF
int ap_php_snprintf(char *, size_t, const char *, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
#define snprintf ap_php_snprintf
-#endif
-#if !defined(HAVE_VSNPRINTF) || PHP_BROKEN_VSNPRINTF
int ap_php_vsnprintf(char *, size_t, const char *, va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0);
#define vsnprintf ap_php_vsnprintf
-#endif
-#if PHP_BROKEN_SPRINTF
int php_sprintf (char* s, const char* format, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
#define sprintf php_sprintf
-#endif
typedef enum {
NO = 0, YES = 1