ports/devel/bennugd-modules/files/patch-mod__mem-mod__mem.c
Dmitry Marakasov f98dbe9543 - Update to svn20130912
- Support staging
- Fix build on 10.x
2014-01-20 01:34:53 +00:00

20 lines
748 B
C

--- mod_mem/mod_mem.c.orig 2013-09-12 06:03:12.588226648 +0400
+++ mod_mem/mod_mem.c 2013-09-12 06:03:50.452231577 +0400
@@ -133,7 +133,7 @@
get_system_info( &info );
return B_PAGE_SIZE * ( info.max_pages - info.used_pages );
-#elif !defined(TARGET_MAC) && !defined(TARGET_WII)
+#elif !defined(TARGET_MAC) && !defined(TARGET_WII) && !defined(TARGET_BSD)
/* Linux and other Unix (?) */
struct sysinfo meminf;
int fv;
@@ -171,7 +171,7 @@
get_system_info( &info );
return B_PAGE_SIZE * ( info.max_pages );
-#elif !defined(TARGET_MAC) && !defined(TARGET_WII)
+#elif !defined(TARGET_MAC) && !defined(TARGET_WII) && !defined(TARGET_BSD)
/* Linux and other Unix (?) */
struct sysinfo meminf;
int fv;