summaryrefslogtreecommitdiff
path: root/benchmark/spr2.c
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2020-09-30 22:59:41 +0200
committerGitHub <noreply@github.com>2020-09-30 22:59:41 +0200
commit5464eb13ea362012047d98dd7c6ecd33ca58b27b (patch)
treea44a188710adfb663c43f458e5bf09063c20784c /benchmark/spr2.c
parente1574cbc83a691f2f0ff898c9976e1f5861d9686 (diff)
downloadopenblas-5464eb13ea362012047d98dd7c6ecd33ca58b27b.tar.gz
openblas-5464eb13ea362012047d98dd7c6ecd33ca58b27b.tar.bz2
openblas-5464eb13ea362012047d98dd7c6ecd33ca58b27b.zip
Change ifdef linux to __linux for C11 compatibility
Diffstat (limited to 'benchmark/spr2.c')
-rwxr-xr-xbenchmark/spr2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/spr2.c b/benchmark/spr2.c
index e8ee345d7..a5f2791f7 100755
--- a/benchmark/spr2.c
+++ b/benchmark/spr2.c
@@ -153,7 +153,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif