Skip to content

Commit 695e0fa

Browse files
committed
#463 fixed a compiling bug on AIX.
1 parent cbb23c4 commit 695e0fa

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

driver/others/openblas_get_parallel.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ static int parallel = 1;
4040
static int parallel = 0;
4141
#endif
4242

43+
44+
#ifdef NEEDBUNDERSCORE
4345
int CNAME() {
4446
return parallel;
4547
}
@@ -48,5 +50,10 @@ int NAME() {
4850
return parallel;
4951
}
5052

51-
53+
#else
54+
//The CNAME and NAME are the same.
55+
int NAME() {
56+
return parallel;
57+
}
58+
#endif
5259

0 commit comments

Comments
 (0)