Changeset 3366 in CLRX


Ignore:
Timestamp:
Sep 13, 2017, 4:28:52 PM (9 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Fixes for MinGW (infinite loops in Assembler tests): do not replace function that doesn't exists in MSVC for MinGW.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CLRX/Config.h.in

    r3361 r3366  
    185185#  define CLRX_ALT_DIR_SEP_S "/"
    186186
    187 #  define strcasecmp(A,B) _stricmp(A,B)
    188 #  define strncasecmp(A,B,N) _strnicmp(A,B,N)
    189 #  if defined(_MSC_VER) && _MSC_VER<1900
    190 #    define snprintf(B,N,F,...) _snprintf(B,N,F,__VA_ARGS__)
     187#  ifndef HAVE_MINGW
     188#    define strcasecmp(A,B) _stricmp(A,B)
     189#    define strncasecmp(A,B,N) _strnicmp(A,B,N)
     190#    if defined(_MSC_VER) && _MSC_VER<1900
     191#      define snprintf(B,N,F,...) _snprintf(B,N,F,__VA_ARGS__)
     192#    endif
    191193#  endif
    192194#endif
Note: See TracChangeset for help on using the changeset viewer.