summaryrefslogtreecommitdiffstats
path: root/src/pmdk/src/windows/README
blob: 18067ab92a3829d4c637b9089b957e1e7b77d781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Persistent Memory Development Kit

This is src/windows/README.

This directory contains the Windows-specific source for the PMDK.

The subdirectory "include" contains header files that have no equivalents
on Windows OS, when building PMDK using VC++ compiler.
Some of those files are empty, which is a cheap trick to avoid preprocessor
errors when including non-existing files.  This way we don't need a lot
of preprocessor conditionals in all the source code files.

The "platform.h" file contains definitions of all the basic types and macros
that are not available under VC++.  When building PMDK with Visual Studio,
"platform.h" file is included to each source file using "/FI" (forced include)
option.

The subdirectory "getopt" contains a windows implementation of getopt and
getopt_long