src/cpuinfo/SDL_cpuinfo.c
changeset 9987 d64783aac765
parent 9619 b94b6d0bff0f
child 9998 f67cf37e9cd4
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Tue Dec 29 02:29:56 2015 -0500
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Tue Dec 29 02:32:47 2015 -0500
     1.3 @@ -735,7 +735,7 @@
     1.4  #endif
     1.5  #ifdef HAVE_SYSCTLBYNAME
     1.6          if (SDL_SystemRAM <= 0) {
     1.7 -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
     1.8 +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
     1.9  #ifdef HW_REALMEM
    1.10              int mib[2] = {CTL_HW, HW_REALMEM};
    1.11  #else