Moved cpp macro redef of strerror_r to bli_env.c.

Details:
- Relocated the _MSC_VER-guarded cpp macro re-definition of strerror_r
  (in terms of strerror_s) from bli_thread.h to bli_env.c. It was
  likely left behind in bli_thread.h in a previous commit, when code
  that now resides in bli_env.c was moved from bli_thread.c. (I couldn't
  find any other instance of strerror_r being used in BLIS, so I moved
  the #define directly to bli_env.c rather than place it in bli_env.h.)
  The code that uses strerror_r is currently disabled, though, so this
  commit should have no affect on BLIS.
This commit is contained in:
Field G. Van Zee
2021-03-11 13:50:40 -06:00
parent 8a3066c315
commit 95d4f3934d
2 changed files with 4 additions and 4 deletions

View File

@@ -61,10 +61,6 @@
void bli_thread_init( void );
void bli_thread_finalize( void );
#ifdef _MSC_VER
#define strerror_r(errno,buf,len) strerror_s(buf,len,errno)
#endif
// Thread range-related prototypes.
BLIS_EXPORT_BLIS