[NTOBJSHEX] Reorder include files in the precompiled header 1474/head
authorMark Jansen <mark.jansen@reactos.org>
Thu, 18 Apr 2019 19:17:00 +0000 (21:17 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Thu, 18 Apr 2019 19:17:00 +0000 (21:17 +0200)
dll/shellext/ntobjshex/ntobjenum.h
dll/shellext/ntobjshex/precomp.h

index 51937df..253c483 100644 (file)
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
+#pragma once
 
-extern "C" {
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <ndk/rtlfuncs.h>
-}
 
 // All the possible values are defined here because I want the type field to be
 // "persistable" and not change if more types are added in the future.
index 55a0557..d221a8c 100644 (file)
 #define COM_NO_WINDOWS_H
 #define NTOS_MODE_USER
 
+extern "C"
+{
+#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
+}
+
 #include <windef.h>
 #include <winbase.h>
 #include <winreg.h>