Kaydet (Commit) c169483c authored tarafından David Tardon's avatar David Tardon

WaE: "__uuidof" redefined

It would probably be better to find out why the "stock" __uuidof from
MinGW causes linking error for libdnd (missing symbols) and if it can be
fixed , but I am too lazy .-)
üst 49884860
...@@ -55,6 +55,9 @@ ...@@ -55,6 +55,9 @@
#include <systools/win32/comtools.hxx> #include <systools/win32/comtools.hxx>
#ifdef __MINGW32__ #ifdef __MINGW32__
#if defined __uuidof
#undef __uuidof
#endif
#define __uuidof(I) IID_##I #define __uuidof(I) IID_##I
#endif #endif
......
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
#include <rtl/unload.h> #include <rtl/unload.h>
#ifdef __MINGW32__ #ifdef __MINGW32__
#if defined __uuidof
#undef __uuidof
#endif
#define __uuidof(I) IID_##I #define __uuidof(I) IID_##I
#endif #endif
......
...@@ -45,6 +45,9 @@ ...@@ -45,6 +45,9 @@
#include <stdio.h> #include <stdio.h>
#ifdef __MINGW32__ #ifdef __MINGW32__
#if defined __uuidof
#undef __uuidof
#endif
#define __uuidof(I) IID_##I #define __uuidof(I) IID_##I
#endif #endif
......
...@@ -34,6 +34,9 @@ ...@@ -34,6 +34,9 @@
#include <systools/win32/comtools.hxx> #include <systools/win32/comtools.hxx>
#ifdef __MINGW32__ #ifdef __MINGW32__
#if defined __uuidof
#undef __uuidof
#endif
#define __uuidof(I) IID_##I #define __uuidof(I) IID_##I
#endif #endif
......
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
#include "../../inc/DtObjFactory.hxx" #include "../../inc/DtObjFactory.hxx"
#ifdef __MINGW32__ #ifdef __MINGW32__
#if defined __uuidof
#undef __uuidof
#endif
#define __uuidof(I) IID_##I #define __uuidof(I) IID_##I
#endif #endif
......
...@@ -50,6 +50,9 @@ ...@@ -50,6 +50,9 @@
#endif #endif
#ifdef __MINGW32__ #ifdef __MINGW32__
#if defined __uuidof
#undef __uuidof
#endif
#define __uuidof(I) IID_##I #define __uuidof(I) IID_##I
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment