mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-13 18:37:27 +08:00
do not include std header within extern C
This commit is contained in:
parent
659087b622
commit
d967718525
@ -43,10 +43,6 @@
|
||||
#include "lapacke_config.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef lapack_int
|
||||
@ -81,7 +77,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef lapack_complex_float_real
|
||||
#define lapack_complex_float_real(z) (creal(z))
|
||||
#define lapack_complex_float_rea@l(z) (creal(z))
|
||||
#endif
|
||||
|
||||
#ifndef lapack_complex_float_imag
|
||||
@ -108,6 +104,11 @@ lapack_complex_double lapack_make_complex_double( double re, double im );
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#ifndef LAPACKE_malloc
|
||||
#define LAPACKE_malloc( size ) malloc( size )
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user