linux compile fixes. grmbl

This commit is contained in:
Dennis Luxen
2011-05-07 07:43:48 +00:00
parent a93738dd79
commit 75f80029f6
+2 -2
View File
@@ -29,7 +29,7 @@ extern "C" {
/* Returns the physical memory size in kilobytes */
unsigned GetPhysicalmemory(void){
#if defined(SUN5) || defined(LINUX)
#if defined(SUN5) || defined(__linux__)
return (sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE));
#elif defined(__APPLE__)
@@ -46,4 +46,4 @@ unsigned GetPhysicalmemory(void){
return 2048*1024; /* 128 Mb default memory */
#endif
}
#endif
#endif