Revision 071fc8de58c6e013c6a292475144f74832c975b0 authored by Rene Brun on 11 March 2004, 18:51:50 UTC, committed by Rene Brun on 11 March 2004, 18:51:50 UTC
git-svn-id: http://root.cern.ch/svn/root/trunk@8367 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 4dc5a97
getpagesize.c
/* @(#)root/clib:$Name: $:$Id: getpagesize.c,v 1.1.1.1 2000/05/16 17:00:43 rdm Exp $ */
/* Author: */
#ifdef WIN32
#include <windows.h>
#include "mmalloc.h"
int getpagesize()
{
SYSTEM_INFO siSysInfo; /* struct for hardware information */
/* Copy the hardware information to the SYSTEM_INFO structure. */
GetSystemInfo(&siSysInfo);
return siSysInfo.dwPageSize;
}
#else
#ifndef __GNUC__
/* Prevent "empty translation unit" warnings. */
#include <stdio.h>
#endif
#endif
Computing file changes ...