Changeset 3360 in CLRX


Ignore:
Timestamp:
Sep 12, 2017, 7:39:57 PM (9 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Fixing warning about unused GCC visibilities for MinGW.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

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

    r3359 r3360  
    194194/* symbols visibility */
    195195
    196 #if __GNUC__ >= 4 && !defined(__CYGWIN__)
     196#if __GNUC__ >= 4 && !defined(__CYGWIN__) && !defined(HAVE_MINGW)
    197197#  define CLRX_INTERNAL __attribute__((visibility("hidden")))
    198198#else
  • CLRadeonExtender/trunk/clwrapper/InternalDecls.h

    r3357 r3360  
    2525#endif
    2626
    27 #if __GNUC__ >= 4 && !defined(__CYGWIN__)
     27#if __GNUC__ >= 4 && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__MINGW64__)
    2828#  define CLRX_CL_INTERNAL_DECLSYM(NAME) extern decltype(NAME) clrx##NAME \
    2929        __attribute__((visibility("hidden")));
Note: See TracChangeset for help on using the changeset viewer.