From 625ffd441d8c98331ee357f4900fa50dd9be05bc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 21 Jan 2014 16:38:03 +0100 Subject: [PATCH] Ugly hack to fix building with clang --- perl/lib/Nix/Store.xs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs index d46af57e64..07ccebe62f 100644 --- a/perl/lib/Nix/Store.xs +++ b/perl/lib/Nix/Store.xs @@ -35,6 +35,10 @@ MODULE = Nix::Store PACKAGE = Nix::Store PROTOTYPES: ENABLE +#undef dNOOP // Hack to work around "error: declaration of 'Perl___notused' has a different language linkage" error message on clang. +#define dNOOP + + void init() CODE: doInit();