SPRINTF_RETURNS_STRLEN isn't really a compile-time option
Steve Hay [Tue, 24 Jan 2006 09:22:44 +0000 (09:22 +0000)]
From: Gisle Aas <gisle@ActiveState.com>
Date: 23 Jan 2006 02:12:04 -0800
Message-ID: <lr3bjfb6dn.fsf@caliper.activestate.com>

Subject: RE: SPRINTF_RETURNS_STRLEN isn't really a compile-time option
From: "Jan Dubois" <jand@ActiveState.com>
Date: Mon, 23 Jan 2006 11:30:51 -0800
Message-ID: <008001c62053$86adf680$2217a8c0@candy>

p4raw-id: //depot/perl@26935

makedef.pl
perl.c

index 56a9544..b846bdb 100644 (file)
@@ -288,6 +288,7 @@ if ($PLATFORM eq 'win32') {
                     Perl_getenv_len
                     Perl_my_pclose
                     Perl_my_popen
+                    Perl_my_sprintf
                     )];
 }
 else {
@@ -364,6 +365,7 @@ if ($PLATFORM eq 'wince') {
                     Perl_getenv_len
                     Perl_my_pclose
                     Perl_my_popen
+                    Perl_my_sprintf
                     )];
 }
 elsif ($PLATFORM eq 'aix') {
diff --git a/perl.c b/perl.c
index dfd64bd..d134c9f 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -1809,9 +1809,6 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
 #  ifdef PL_OP_SLAB_ALLOC
                             " PL_OP_SLAB_ALLOC"
 #  endif
-#  ifdef SPRINTF_RETURNS_STRLEN
-                            " SPRINTF_RETURNS_STRLEN"
-#  endif
 #  ifdef THREADS_HAVE_PIDS
                             " THREADS_HAVE_PIDS"
 #  endif