Skip to content

Commit

Permalink
Merge pull request #130 from guydavid/hotfix/lapack-macro-leak
Browse files Browse the repository at this point in the history
lapack.in.h: Use typedefs inside a namespace over macros
  • Loading branch information
wolfv committed Oct 3, 2019
2 parents 1dba9cb + 4403502 commit e6a19d9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/xflens/cxxlapack/netlib/interface/lapack.in.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@

#ifndef INTEGER
# ifndef MKL_ILP64
# define INTEGER int
typedef int INTEGER;
# else
# define INTEGER long
typedef long INTEGER;
# endif
#endif

#ifndef FLOAT
#define FLOAT float
typedef float FLOAT;
#endif

#ifndef DOUBLE
#define DOUBLE double
typedef double DOUBLE;
#endif

#ifndef FLOAT_COMPLEX
#define FLOAT_COMPLEX float
typedef float FLOAT_COMPLEX;
#endif

#ifndef DOUBLE_COMPLEX
#define DOUBLE_COMPLEX double
typedef double DOUBLE_COMPLEX;
#endif

#ifndef LOGICAL
#define LOGICAL int
typedef int LOGICAL;
#endif

#ifndef UNKNOWN
#define UNKNOWN void
typedef void UNKNOWN;
#endif

//-- cbbcsd --------------------------------------------------------------------
Expand Down

0 comments on commit e6a19d9

Please sign in to comment.