mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +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"
|
#include "lapacke_config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifndef lapack_int
|
#ifndef lapack_int
|
||||||
@ -81,7 +77,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef lapack_complex_float_real
|
#ifndef lapack_complex_float_real
|
||||||
#define lapack_complex_float_real(z) (creal(z))
|
#define lapack_complex_float_rea@l(z) (creal(z))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef lapack_complex_float_imag
|
#ifndef lapack_complex_float_imag
|
||||||
@ -108,6 +104,11 @@ lapack_complex_double lapack_make_complex_double( double re, double im );
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#ifndef LAPACKE_malloc
|
#ifndef LAPACKE_malloc
|
||||||
#define LAPACKE_malloc( size ) malloc( size )
|
#define LAPACKE_malloc( size ) malloc( size )
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user