summaryrefslogtreecommitdiff
path: root/common_interface.h
diff options
context:
space:
mode:
authorXianyi Zhang <xianyi@iscas.ac.cn>2011-08-31 18:21:37 +0800
committerXianyi Zhang <xianyi@iscas.ac.cn>2011-08-31 18:21:37 +0800
commitb9d89f8aaa82845d09463f36829e189b0e28c15d (patch)
treee1c6bcdade9d8732ac01b7ccb0b333d134752045 /common_interface.h
parent19d2ab4853a0c15c1761756b6243093536b7c96f (diff)
downloadopenblas-b9d89f8aaa82845d09463f36829e189b0e28c15d.tar.gz
openblas-b9d89f8aaa82845d09463f36829e189b0e28c15d.tar.bz2
openblas-b9d89f8aaa82845d09463f36829e189b0e28c15d.zip
Fixed the bug about installation. f77blas.h works OK now.
Diffstat (limited to 'common_interface.h')
-rw-r--r--common_interface.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/common_interface.h b/common_interface.h
index 36bf5aa48..898d91001 100644
--- a/common_interface.h
+++ b/common_interface.h
@@ -38,6 +38,11 @@
#ifndef ASSEMBLER
+#ifdef __cplusplus
+extern "C" {
+ /* Assume C declarations for C++ */
+#endif /* __cplusplus */
+
int BLASFUNC(xerbla)(char *, blasint *info, blasint);
FLOATRET BLASFUNC(sdot) (blasint *, float *, blasint *, float *, blasint *);
@@ -733,4 +738,10 @@ xdouble BLASFUNC(qlamch)(char *);
FLOATRET BLASFUNC(slamc3)(float *, float *);
double BLASFUNC(dlamc3)(double *, double *);
xdouble BLASFUNC(qlamc3)(xdouble *, xdouble *);
+
+#ifdef __cplusplus
+}
+
+#endif /* __cplusplus */
+
#endif