add fix it to build on linux
Modified: trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp
_____
Modified: trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp
--- trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp 2005-08-21
14:04:19 UTC (rev 17457)
+++ trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp 2005-08-21
14:41:20 UTC (rev 17458)
@@ -19,13 +19,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
*
*/
-
+
+#ifdef _WIN32
#include <objbase.h>
#include <stdio.h>
static HRESULT (*pCoInitialize)(PVOID);
static void (*pCoUninitialize)(void);
-static HRESULT (*pCoCreateGuid)(GUID*);
+static HRESULT (*pCoCreateGuid)(GUID*);
void gen_guid()
{
@@ -59,3 +60,9 @@
m_guid.Data4[6],m_guid.Data4[7]);
pCoUninitialize();
}
+
+#else /* Linux, etc */
+void gen_guid()
+{
+}
+#endif /* WIN32/Linux */