Browse Source

Git.pm: Don't #define around die

Back in the old days, we called Git's die() from the .xs code, but we had to
hijack Perl's die() for that. Now we don't call Git's die() so no need to do
the hijacking and it silences a compiler warning.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Petr Baudis 19 years ago committed by Junio C Hamano
parent
commit
65a4e98a22
  1. 4
      perl/Git.xs

4
perl/Git.xs

@ -8,15 +8,11 @@ @@ -8,15 +8,11 @@
#include "../cache.h"
#include "../exec_cmd.h"

#define die perlyshadow_die__

/* XS and Perl interface */
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

#undef die


static char *
report_xs(const char *prefix, const char *err, va_list params)

Loading…
Cancel
Save