Skip to content

Commit ca9603f

Browse files
Cleaned up unistd.h
1 parent 8c03279 commit ca9603f

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

libnvme/src/nvme/unistd.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,20 @@
77
* Provides functionality that may be missing on some platforms.
88
* Compatibility is not comprehensive. Only functionality required by
99
* nvme-cli and libnvme is included.
10-
*
11-
* Authors: Broc Going <bgoing@micron.com>
12-
* Brandon Capener <bcapener@micron.com>
10+
*
11+
* Authors: Brandon Busacker <bbusacker@micron.com>
12+
* Broc Going <bgoing@micron.com>
1313
*/
1414
#pragma once
1515

1616
#include <unistd.h>
1717

1818
#if defined(_WIN32) || defined(_WIN64)
1919

20-
#include <io.h>
2120
#include <sysinfoapi.h>
2221

2322
/* unistd.h POSIX compatibility */
2423

25-
#define STDERR_FILENO 2
26-
#define STDOUT_FILENO 1
27-
#define STDIN_FILENO 0
28-
2924
/* getpagesize implementation for Windows */
3025
static inline int getpagesize(void)
3126
{

0 commit comments

Comments
 (0)