]> https://gitweb.dealii.org/ - dealii.git/commitdiff
MSVS: fix linkage 4266/head
authorAlexey Ozeritsky <aozeritsky@yandex-team.ru>
Sun, 16 Apr 2017 21:08:57 +0000 (00:08 +0300)
committerAlexey Ozeritsky <aozeritsky@yandex-team.ru>
Mon, 17 Apr 2017 20:52:28 +0000 (23:52 +0300)
bundled/umfpack/AMD/Source/amd_global.cc

index 93f2b45187a544f56d61b17967c8ceee3debf9ec..92bf72c2ae790325a82d02479ced30105fb8b527 100644 (file)
@@ -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
+
+}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.