mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
cc-wrapper-test: Forgot to extern "C"
now that main is C++
This commit is contained in:
parent
f671b85fb2
commit
539dcb8e27
@ -32,7 +32,7 @@ let
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
${toString (lib.genList (i: "extern unsigned int asdf_${toString i}(void); ") count)}
|
||||
${toString (lib.genList (i: "extern \"C\" unsigned int asdf_${toString i}(void); ") count)}
|
||||
|
||||
unsigned int (*funs[])(void) = {
|
||||
${toString (lib.genList (i: "asdf_${toString i},") count)}
|
||||
|
Loading…
Reference in New Issue
Block a user