do not include std header within extern C

This commit is contained in:
Gael Guennebaud 2017-03-07 10:16:39 +01:00
parent 659087b622
commit d967718525

View File

@ -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