From: Alexey Ozeritsky Date: Sun, 16 Apr 2017 21:08:57 +0000 (+0300) Subject: MSVS: fix linkage X-Git-Tag: v9.0.0-rc1~1675^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4266%2Fhead;p=dealii.git MSVS: fix linkage --- diff --git a/bundled/umfpack/AMD/Source/amd_global.cc b/bundled/umfpack/AMD/Source/amd_global.cc index 93f2b45187..92bf72c2ae 100644 --- a/bundled/umfpack/AMD/Source/amd_global.cc +++ b/bundled/umfpack/AMD/Source/amd_global.cc @@ -20,6 +20,8 @@ #define NULL 0 #endif +extern "C" { + /* ========================================================================= */ /* === Default AMD memory manager ========================================== */ /* ========================================================================= */ @@ -82,3 +84,5 @@ int (*amd_printf) (const char *, ...) = printf ; #else int (*amd_printf) (const char *, ...) = NULL ; #endif + +}