swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Raw File
Tip revision: 50b74509613ec58b45dbeaa755e9e2b41e02b64b authored by Unknown Author on 14 September 2000, 09:56:38 UTC
This commit was manufactured by cvs2svn to create tag 'v2-25-03'.
Tip revision: 50b7450
getpagesize.c
/* @(#)root/clib:$Name$:$Id$ */
/* 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. */
static char file_intentionally_empty = 69;
#endif

#endif
back to top