blob: c373e86996d5e16fe81e3d6f3f5c202e85cf1f39 [file] [log] [blame]
Brian Silverman72890c22015-09-19 14:37:37 -04001
Austin Schuh189376f2018-12-20 22:11:15 +11002#include <stdio.h>
Brian Silverman72890c22015-09-19 14:37:37 -04003
4#if (defined __GNUC__) && (!defined __MINGW32__) && (!defined __CYGWIN__)
5#define EIGEN_WEAK_LINKING __attribute__ ((weak))
6#else
7#define EIGEN_WEAK_LINKING
8#endif
9
10#ifdef __cplusplus
11extern "C"
12{
13#endif
14
15EIGEN_WEAK_LINKING int xerbla_(const char * msg, int *info, int)
16{
Austin Schuh189376f2018-12-20 22:11:15 +110017 printf("Eigen BLAS ERROR #%i: %s\n", *info, msg );
Brian Silverman72890c22015-09-19 14:37:37 -040018 return 0;
19}
20
21#ifdef __cplusplus
22}
23#endif