Browse Source
Merge pull request #1678 from martin-frbg/issue1677
Define snprintf for older versions of MSVC
tags/v0.3.2^2
Martin Kroeker
GitHub
7 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
driver/others/openblas_get_config.c
|
|
@@ -35,6 +35,12 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
|
|
|
|
|
#include <string.h> |
|
|
#include <string.h> |
|
|
|
|
|
|
|
|
|
|
|
#if defined(_WIN32) && defined(_MSC_VER) |
|
|
|
|
|
#if _MSC_VER < 1900 |
|
|
|
|
|
#define snprintf _snprintf_s |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
static char* openblas_config_str="" |
|
|
static char* openblas_config_str="" |
|
|
#ifdef USE64BITINT |
|
|
#ifdef USE64BITINT |
|
|
"USE64BITINT " |
|
|
"USE64BITINT " |
|
|
|