diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-01-21T15·38+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-01-21T15·38+0100 |
commit | 625ffd441d8c98331ee357f4900fa50dd9be05bc (patch) | |
tree | f300dcde88a79825d1a410f6e4133fab2c1b7d54 /perl/lib | |
parent | 68cde53c47e5447d2c91f5fe4521b5209af7b73e (diff) |
Ugly hack to fix building with clang
Diffstat (limited to 'perl/lib')
-rw-r--r-- | perl/lib/Nix/Store.xs | 4 |
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(); |