summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-29 05:01:54 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-29 05:01:54 +0000
commit17c3b45099488fbc22dc1d4e0e4600c17bc12645 (patch)
treed3f866944ed1ba0c3b916fa245466d83f4e77fe8 /ext
parent1d2dff63f533f62282a700198c67c41dcb6ad6df (diff)
downloadperl-17c3b45099488fbc22dc1d4e0e4600c17bc12645.tar.gz
[win32] misc changes
- remove code that works around lack of I_STDARG (we're a happy ANSI family) - leave dump_foo() stubs when not -DDEBUGGING for consistent symbol exports p4raw-id: //depot/win32/perl@1053
Diffstat (limited to 'ext')
-rw-r--r--ext/DynaLoader/dlutils.c4
-rw-r--r--ext/POSIX/POSIX.xs5
2 files changed, 2 insertions, 7 deletions
diff --git a/ext/DynaLoader/dlutils.c b/ext/DynaLoader/dlutils.c
index 422b3d1bf9..fb61e1d0f5 100644
--- a/ext/DynaLoader/dlutils.c
+++ b/ext/DynaLoader/dlutils.c
@@ -53,11 +53,7 @@ SaveError(char* pat, ...)
/* This code is based on croak/warn, see mess() in util.c */
-#ifdef I_STDARG
va_start(args, pat);
-#else
- va_start(args);
-#endif
message = mess(pat, &args);
va_end(args);
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 661592e7fe..239f979229 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -23,9 +23,8 @@
#endif
#include <setjmp.h>
#include <signal.h>
-#ifdef I_STDARG
#include <stdarg.h>
-#endif
+
#ifdef I_STDDEF
#include <stddef.h>
#endif
@@ -99,7 +98,7 @@
#if defined (WIN32)
# undef mkfifo /* #defined in perl.h */
# define mkfifo(a,b) not_here("mkfifo")
-# define ttyname(a) not_here("ttyname")
+# define ttyname(a) (char*)not_here("ttyname")
# define sigset_t long
# define pid_t long
# ifdef __BORLANDC__