Browse Source
Merge pull request #3310 from jeromerobert/develop
Avoid redefinition of _GNU_SOURCE
tags/v0.3.17
Martin Kroeker
GitHub
4 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
openblas_config_template.h
|
|
@@ -99,6 +99,8 @@ typedef int blasint; |
|
|
|
|
|
|
|
/* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */ |
|
|
|
#ifdef OPENBLAS_OS_LINUX |
|
|
|
#define _GNU_SOURCE |
|
|
|
#ifndef _GNU_SOURCE |
|
|
|
#define _GNU_SOURCE |
|
|
|
#endif |
|
|
|
#include <sched.h> |
|
|
|
#endif |