Ticket #430: mingw32_cpuid.diff

File mingw32_cpuid.diff, 759 bytes (added by ranma57@…, 21 years ago)

Patch

  • cpudetect.c

    RCS file: /cvsroot/mplayer/main/cpudetect.c,v
    retrieving revision 1.42
    diff -u -r1.42 cpudetect.c
     
    172172#endif
    173173
    174174                /* FIXME: Does SSE2 need more OS support, too? */
    175 #if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__CYGWIN__) || defined(__OpenBSD__) || defined(__DragonFly__)
     175#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__MINGW32__) || defined(__CYGWIN__) || defined(__OpenBSD__) || defined(__DragonFly__)
    176176                if (caps->hasSSE)
    177177                        check_os_katmai_support();
    178178                if (!caps->hasSSE)