summaryrefslogtreecommitdiff
path: root/gen_config_h.c
diff options
context:
space:
mode:
authorNeil Shipp <neilsh@microsoft.com>2017-06-21 11:06:48 -0700
committerneilshipp <neilsh@microsoft.com>2017-06-21 13:38:22 -0700
commit65e56cb29dc27fd7a5cdb1de827caed05263325d (patch)
tree188a69f1826037ad368d65b6e187f2b3198e0917 /gen_config_h.c
parent8f0d6c06a9be9ba0d3a1b2ca2710c7f5d2fdde00 (diff)
downloadopenblas-65e56cb29dc27fd7a5cdb1de827caed05263325d.tar.gz
openblas-65e56cb29dc27fd7a5cdb1de827caed05263325d.tar.bz2
openblas-65e56cb29dc27fd7a5cdb1de827caed05263325d.zip
Add 64bit support for Microsoft Visual Studio
Diffstat (limited to 'gen_config_h.c')
-rw-r--r--gen_config_h.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_config_h.c b/gen_config_h.c
index e285724c0..dda06f285 100644
--- a/gen_config_h.c
+++ b/gen_config_h.c
@@ -16,7 +16,7 @@ s=fgets(line,80,fp);
if (s== NULL) break;
memset(line2,0,80);
i=sscanf(line,"#define %70c",line2);
-if (i>0) {
+if (i!=0) {
fprintf(stdout,"#define OPENBLAS_%s",line2);
} else {
fprintf(stdout,"\n");