diff options
author | midipix <writeonce@midipix.org> | 2016-12-11 23:26:35 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-11 23:35:17 -0500 |
commit | 28d040d8c243d28e1f851bb80f1d5ba30d22fd3c (patch) | |
tree | fa7339b882087be88d7f0e8c3e2518e12b92dfa4 /include | |
parent | 230c904e5d10c61b6c7730e63e7f4340834db7b8 (diff) | |
download | ntapi-28d040d8c243d28e1f851bb80f1d5ba30d22fd3c.tar.bz2 ntapi-28d040d8c243d28e1f851bb80f1d5ba30d22fd3c.tar.xz |
api headers: added nt_dalist.h, nt_pe.h, for smooth foreign toolchain support.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_dalist.h | 14 | ||||
-rw-r--r-- | include/ntapi/nt_ldr.h | 2 | ||||
-rw-r--r-- | include/ntapi/nt_pe.h | 14 | ||||
-rw-r--r-- | include/ntapi/nt_process.h | 2 |
4 files changed, 30 insertions, 2 deletions
diff --git a/include/ntapi/nt_dalist.h b/include/ntapi/nt_dalist.h new file mode 100644 index 0000000..ad6bf5b --- /dev/null +++ b/include/ntapi/nt_dalist.h @@ -0,0 +1,14 @@ +#ifndef _NT_DALIST_H_ +#define _NT_DALIST_H_ + +#ifdef _MIDIPIX_FREESTANDING + +#include <dalist/dalist.h> + +#else + +#include "dalist.h" + +#endif + +#endif diff --git a/include/ntapi/nt_ldr.h b/include/ntapi/nt_ldr.h index daabc11..b438b34 100644 --- a/include/ntapi/nt_ldr.h +++ b/include/ntapi/nt_ldr.h @@ -1,8 +1,8 @@ #ifndef _NT_LDR_H_ #define _NT_LDR_H_ -#include <dalist/dalist.h> #include "nt_abi.h" +#include "nt_dalist.h" #include "nt_object.h" typedef int32_t __stdcall ntapi_ldr_load_dll( diff --git a/include/ntapi/nt_pe.h b/include/ntapi/nt_pe.h new file mode 100644 index 0000000..f7cc3d1 --- /dev/null +++ b/include/ntapi/nt_pe.h @@ -0,0 +1,14 @@ +#ifndef _NT_PE_H_ +#define _NT_PE_H_ + +#ifdef _MIDIPIX_FREESTANDING + +#include <pemagine/pemagine.h> + +#else + +#include "pemagine.h" + +#endif + +#endif diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h index 44b237a..8ffd1b6 100644 --- a/include/ntapi/nt_process.h +++ b/include/ntapi/nt_process.h @@ -1,8 +1,8 @@ #ifndef _NT_PROCESS_H_ #define _NT_PROCESS_H_ -#include <pemagine/pemagine.h> #include "nt_abi.h" +#include "nt_pe.h" #include "nt_compiler.h" #include "nt_object.h" #include "nt_memory.h" |