about summary refs log tree commit diff
path: root/perl
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-21T15·38+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-21T15·38+0100
commit625ffd441d8c98331ee357f4900fa50dd9be05bc (patch)
treef300dcde88a79825d1a410f6e4133fab2c1b7d54 /perl
parent68cde53c47e5447d2c91f5fe4521b5209af7b73e (diff)
Ugly hack to fix building with clang
Diffstat (limited to 'perl')
-rw-r--r--perl/lib/Nix/Store.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs
index d46af57e64f6..07ccebe62f51 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();