fix some headers to compile with MSVC
authorChristoph von Wittich <christoph_vw@reactos.org>
Mon, 17 Oct 2005 11:09:35 +0000 (11:09 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Mon, 17 Oct 2005 11:09:35 +0000 (11:09 +0000)
svn path=/trunk/; revision=18509

reactos/w32api/include/excpt.h
reactos/w32api/include/objsel.h

index 3c18cd4..646de45 100644 (file)
 #ifndef        _EXCPT_H_
 #define        _EXCPT_H_
 
-/* All the headers include this file. */
+/* All the headers include this file. */\r
+#if defined(__MINGW32__)
 #include <_mingw.h>
+#endif\r
 
 #include <windef.h>
 
index 4e2f317..a8619bd 100644 (file)
@@ -22,6 +22,11 @@ extern "C" {
 #endif
 
 #include <unknwn.h>
+#include <oaidl.h>
+#include <objidl.h>
+
+#define INITGUID
+#include <initguid.h>
 
 DEFINE_GUID(CLSID_DsObjectPicker, 0x17d6ccd8, 0x3b7b, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7);
 DEFINE_GUID(IID_IDsObjectPicker, 0x0c87e64e, 0x3b7a, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7);