You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
389 B

  1. #include <stdio.h>
  2. #if (defined __GNUC__) && (!defined __MINGW32__) && (!defined __CYGWIN__)
  3. #define EIGEN_WEAK_LINKING __attribute__ ((weak))
  4. #else
  5. #define EIGEN_WEAK_LINKING
  6. #endif
  7. #ifdef __cplusplus
  8. extern "C"
  9. {
  10. #endif
  11. EIGEN_WEAK_LINKING int xerbla_(const char * msg, int *info, int)
  12. {
  13. printf("Eigen BLAS ERROR #%i: %s\n", *info, msg );
  14. return 0;
  15. }
  16. #ifdef __cplusplus
  17. }
  18. #endif