Changeset: 59464ad08e31 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=59464ad08e31 Modified Files: gdk/gdk_posix.c Branch: configurable_working_set Log Message:
Use WIN32 instead of the _WIN64 macro to implement MT_getrss. diffs (15 lines): diff --git a/gdk/gdk_posix.c b/gdk/gdk_posix.c --- a/gdk/gdk_posix.c +++ b/gdk/gdk_posix.c @@ -742,9 +742,9 @@ MT_init_posix(void) } size_t -MT_getrss(void) +MT_getrss(void) // Obtain allocated physical memory { -#ifdef _WIN64 +#ifdef WIN32 PROCESS_MEMORY_COUNTERS ctr; if (GetProcessMemoryInfo(GetCurrentProcess(), &ctr, sizeof(ctr))) return ctr.WorkingSetSize; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list