summaryrefslogtreecommitdiff
path: root/main/snprintf.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-05-07 13:24:07 +0000
committerSascha Schumann <sas@php.net>2002-05-07 13:24:07 +0000
commit66036eab1003e4c9b77f3f1047ecd022c43360aa (patch)
treec278541539cb5793efcb9bdbde22109ba3a1dd6f /main/snprintf.h
parent946fca9c91d7743441d7c46461fb6035168e2d44 (diff)
downloadphp-git-66036eab1003e4c9b77f3f1047ecd022c43360aa.tar.gz
use thread-safe functions unconditionally
Diffstat (limited to 'main/snprintf.h')
-rw-r--r--main/snprintf.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/main/snprintf.h b/main/snprintf.h
index 1efa77f122..767ce4e0c2 100644
--- a/main/snprintf.h
+++ b/main/snprintf.h
@@ -38,21 +38,11 @@ typedef enum {
NO = 0, YES = 1
} boolean_e;
-#ifdef HAVE_GCVT
-
-#define ap_php_ecvt ecvt
-#define ap_php_fcvt fcvt
-#define ap_php_gcvt gcvt
-
-#else
-
extern char * ap_php_cvt(double arg, int ndigits, int *decpt, int *sign, int eflag, char *buf);
extern char * ap_php_ecvt(double arg, int ndigits, int *decpt, int *sign, char *buf);
extern char * ap_php_fcvt(double arg, int ndigits, int *decpt, int *sign, char *buf);
extern char * ap_php_gcvt(double number, int ndigit, char *buf, boolean_e altform);
-#endif
-
#define WIDE_INT long
typedef WIDE_INT wide_int;
typedef unsigned WIDE_INT u_wide_int;