From 695e0fa649cd76b894069990cdbfd5590f16c401 Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Mon, 10 Nov 2014 14:39:56 +0800 Subject: [PATCH] #463 fixed a compiling bug on AIX. --- driver/others/openblas_get_parallel.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/driver/others/openblas_get_parallel.c b/driver/others/openblas_get_parallel.c index ea2e4d986..76107dabd 100644 --- a/driver/others/openblas_get_parallel.c +++ b/driver/others/openblas_get_parallel.c @@ -40,6 +40,8 @@ static int parallel = 1; static int parallel = 0; #endif + +#ifdef NEEDBUNDERSCORE int CNAME() { return parallel; } @@ -48,5 +50,10 @@ int NAME() { return parallel; } - +#else +//The CNAME and NAME are the same. +int NAME() { + return parallel; +} +#endif