summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-01-09 22:21:15 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-01-09 22:21:15 (GMT)
commite94226c6a5506aafe8430cd317ec16c309675808 (patch)
tree00ddbba565eb7b0c95a816fac809527ccf980eb4 /src/dot.cpp
parent0ee700fc0f6a02b75aa5651c23cc3339c1255ebc (diff)
downloadDoxygen-e94226c6a5506aafe8430cd317ec16c309675808.zip
Doxygen-e94226c6a5506aafe8430cd317ec16c309675808.tar.gz
Doxygen-e94226c6a5506aafe8430cd317ec16c309675808.tar.bz2
Release-1.5.1-20070109
Diffstat (limited to 'src/dot.cpp')
-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