fix compile with gcc
authorChristoph von Wittich <christoph_vw@reactos.org>
Mon, 17 Oct 2005 12:04:26 +0000 (12:04 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Mon, 17 Oct 2005 12:04:26 +0000 (12:04 +0000)
now it compiles with gcc && msvc

svn path=/trunk/; revision=18513

reactos/w32api/include/objsel.h

index a8619bd..83d9ad5 100644 (file)
@@ -25,8 +25,10 @@ extern "C" {
 #include <oaidl.h>
 #include <objidl.h>
 
+#if defined (_MSC_VER)
 #define INITGUID
 #include <initguid.h>
+#endif
 
 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);