Browse Source

Merge pull request #1680 from martin-frbg/snprint

Fix wrong redefinitions of snprintf for older MSVC
tags/v0.3.2^2
Martin Kroeker GitHub 7 years ago
parent
commit
36aea5ce2d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      driver/others/openblas_get_config.c
  2. +1
    -1
      utest/ctest.h

+ 1
- 1
driver/others/openblas_get_config.c View File

@@ -37,7 +37,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#if defined(_WIN32) && defined(_MSC_VER)
#if _MSC_VER < 1900
#define snprintf _snprintf_s
#define snprintf _snprintf
#endif
#endif



+ 1
- 1
utest/ctest.h View File

@@ -84,7 +84,7 @@ struct ctest {
#endif

#if _MSC_VER < 1900
#define snprintf _snprintf_s
#define snprintf _snprintf
#endif

#ifndef __cplusplus


Loading…
Cancel
Save