Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions libnvme/src/nvme/mem-win.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,17 @@
*/

#include <string.h>
#include <errno.h>
#include <limits.h>
#include <malloc.h>

#include <io.h>
#include <memoryapi.h>
#include <sysinfoapi.h>
#include <winsock2.h> /* for gethostname */

#include "compiler-attributes.h"
#include "mem.h"
#include "private.h"

#define HUGE_MIN 0x80000 /* policy threshold when large pages unavailable */

/* unistd.h POSIX compatibility */

#define fsync _commit
static int getpagesize(void)
{
SYSTEM_INFO si;
Expand Down
Loading