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

#ifndef FILE_WIN_H
#define FILE_WIN_H

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

#ifdef WP_PLATFORM_CPP
BEGIN_C_LINKAGE
#endif // !WP_PLATFORM_CPP

#ifdef WP_PLATFORM_WINDOWS

#define WP_END_OF_LINE "\r\n"

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

struct WpFile {
	HANDLE fh;
};

#endif // !WP_PLATFORM_WINDOWS

#ifdef WP_PLATFORM_CPP
END_C_LINKAGE
#endif // !WP_PLATFORM_CPP

#endif // !FILE_WIN_H
