diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-07-27 14:15:10 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-07-31 17:02:56 -0400 |
commit | 539dcb8e2760ee6cab990ce929a586b050496520 (patch) | |
tree | b9ba866e583bd98c31da2b8767b9a8ecce1890ec | |
parent | f671b85fb2c082819ea419ea5b0f5914bc6f26b3 (diff) |
cc-wrapper-test: Forgot to `extern "C"` now that main is C++
-rw-r--r-- | pkgs/test/macos-sierra-shared/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/test/macos-sierra-shared/default.nix b/pkgs/test/macos-sierra-shared/default.nix index ebcf6c62c608..2d52a02affa0 100644 --- a/pkgs/test/macos-sierra-shared/default.nix +++ b/pkgs/test/macos-sierra-shared/default.nix @@ -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)} |