Skip to content

Instantly share code, notes, and snippets.

@rurban
Last active March 22, 2017 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rurban/37c190d3c2789d64ca1924d22ee40d17 to your computer and use it in GitHub Desktop.
Save rurban/37c190d3c2789d64ca1924d22ee40d17 to your computer and use it in GitHub Desktop.
ReactOS DDK header for clisp appvoyer
rurban@cpan.org for clisp mingw64 builds
Avoid the need for -Iddk with #include <ntifs.h>
--- mingw32/i686-w64-mingw32/include/ddk/ntddk.h~ 2017-01-14 23:19:13.000000000 +0100
+++ mingw32/i686-w64-mingw32/include/ddk/ntddk.h 2017-03-22 14:46:54.000000000 +0100
@@ -35,11 +35,11 @@
#define NT_INCLUDED
#define _CTYPE_DISABLE_MACROS
-#include <wdm.h>
+#include <ddk/wdm.h>
#include <excpt.h>
#include <ntdef.h>
#include <ntstatus.h>
-#include <mce.h>
+#include <ddk/mce.h>
#include <bugcodes.h>
#include <ntiologc.h>
--- mingw32/i686-w64-mingw32/include/ddk/ntifs.h~ 2017-01-14 23:19:13.000000000 +0100
+++ mingw32/i686-w64-mingw32/include/ddk/ntifs.h 2017-03-22 14:28:30.000000000 +0100
@@ -31,10 +31,10 @@
#endif
/* Dependencies */
-#include <ntddk.h>
+#include <ddk/ntddk.h>
#include <excpt.h>
#include <ntdef.h>
-#include <ntnls.h>
+#include <ddk/ntnls.h>
#include <ntstatus.h>
#include <bugcodes.h>
#include <ntiologc.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment