// vim:fileencoding=utf-8:foldmethod=marker

#ifndef MEM_OS_WIN_H
#define MEM_OS_WIN_H

#include "../../../common/platform/platform.h"

#ifdef WP_PLATFORM_CPP
BEGIN_C_LINKAGE
#endif // !WP_PLATFORM_CPP

#ifdef WP_PLATFORM_WINDOWS

#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <memoryapi.h>

typedef enum {
	WP_MEM_ALLOC_RESERVE = MEM_RESERVE,
	WP_MEM_ALLOC_COMMIT  = MEM_COMMIT,
} WpMemAllocFlags;

#endif // !WP_PLATFORM_WINDOWS

#ifdef WP_PLATFORM_CPP
END_C_LINKAGE
#endif // !WP_PLATFORM_CPP

#endif // !MEM_OS_WIN_H
