Ticket #14969: liboil_liboilcpu.c.patch.diff

File liboil_liboilcpu.c.patch.diff, 403 bytes (added by gui-dos (Guido Soranzio), 17 years ago)
  • liboil_liboilcpu.c.patch

    old new  
    99 #include <sys/types.h>
    1010 #include <sys/sysctl.h>
    1111 #endif
    12 @@ -578,7 +578,7 @@
    13  static void
    14  oil_cpu_detect_kernel_support (void)
    15  {
    16 -#ifdef __FreeBSD__
    17 +#if defined(__FreeBSD__) || defined(__APPLE__)
    18    int ret, enabled;
    19    size_t len;
    20  
     12