diff options
author | Nicholas Clark <nick@ccl4.org> | 2002-03-04 22:48:38 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-04 22:17:56 +0000 |
commit | 1cb0fb506639f41107792256805556ee04e5463a (patch) | |
tree | edcae7d6f9d2e1e4ca67c0e7cd70b1943e06b734 /ext/Sys/Syslog | |
parent | 26f1752374957703dbfe054b7fa25c12c67ca6f3 (diff) | |
download | perl-1cb0fb506639f41107792256805556ee04e5463a.tar.gz |
(was Re: [PATCH @13746] h2xs)
Message-ID: <20020304224837.GA4284@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@15023
Diffstat (limited to 'ext/Sys/Syslog')
-rw-r--r-- | ext/Sys/Syslog/Makefile.PL | 3 | ||||
-rw-r--r-- | ext/Sys/Syslog/Syslog.xs | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/ext/Sys/Syslog/Makefile.PL b/ext/Sys/Syslog/Makefile.PL index 1de0148d41..1a5f1fc124 100644 --- a/ext/Sys/Syslog/Makefile.PL +++ b/ext/Sys/Syslog/Makefile.PL @@ -1,12 +1,11 @@ use ExtUtils::MakeMaker; -use ExtUtils::Constant 0.07 'WriteConstants'; +use ExtUtils::Constant 0.11 'WriteConstants'; WriteMakefile( NAME => 'Sys::Syslog', VERSION_FROM => 'Syslog.pm', MAN3PODS => {}, # Pods will be built by installman. XSPROTOARG => '-noprototypes', - realclean => {FILES=> 'constants.c constants.xs'}, ); # We hope syslogd understands /dev/log. diff --git a/ext/Sys/Syslog/Syslog.xs b/ext/Sys/Syslog/Syslog.xs index 157c7320e5..93f1272e91 100644 --- a/ext/Sys/Syslog/Syslog.xs +++ b/ext/Sys/Syslog/Syslog.xs @@ -6,11 +6,11 @@ #include <syslog.h> #endif -#include "constants.c" +#include "const-c.inc" MODULE = Sys::Syslog PACKAGE = Sys::Syslog -INCLUDE: constants.xs +INCLUDE: const-xs.inc int LOG_FAC(p) |