summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2007-01-09 22:21:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2007-01-09 22:21:15 (GMT)
commit6306fc4794e01572258ac9642d3a1f9351123908 (patch)
tree00ddbba565eb7b0c95a816fac809527ccf980eb4 /src
parent66401e657546264df0ffa49765f68dc651b7be48 (diff)
downloadDoxygen-6306fc4794e01572258ac9642d3a1f9351123908.zip
Doxygen-6306fc4794e01572258ac9642d3a1f9351123908.tar.gz
Doxygen-6306fc4794e01572258ac9642d3a1f9351123908.tar.bz2
Release-1.5.1-20070109
Diffstat (limited to 'src')
-rw-r--r--src/dot.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 188b15f..e57557a 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1,6 +1,6 @@
/*****************************************************************************
*
- *
+ * $Id$
*
*
* Copyright (C) 1997-2006 by Dimitri van Heesch.
@@ -16,6 +16,11 @@
*
*/
+#ifdef _WIN32
+#include <windows.h>
+#define BITMAP W_BITMAP
+#endif
+
#include <stdlib.h>
#include "dot.h"
@@ -2929,7 +2934,7 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir,
// temporarily remove the DOTFONTPATH environment variable
// so dot will use the built-in search path.
#ifdef _WIN32
- SetEnvironmentVariable("DOTFONTPATH", 0)
+ SetEnvironmentVariable("DOTFONTPATH", 0);
#else
unsetenv("DOTFONTPATH");
#endif
@@ -2966,7 +2971,7 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir,
{
// restore the DOTFONTPATH variable again
#ifdef _WIN32
- SetEnvironmentVariable("DOTFONTPATH", env)
+ SetEnvironmentVariable("DOTFONTPATH", env);
#else
setenv("DOTFONTPATH",env,1);
#endif