summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-13 02:25:58 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-13 02:25:58 +0000
commitd32386353d28093a5d03ad99f161f8133d73e056 (patch)
tree7d0fa519d613a79b611b938c0929260625fff5c3 /src/log.h
parent75b19e771c527e8444aae70543b2b617dae2e892 (diff)
downloadmana-client-d32386353d28093a5d03ad99f161f8133d73e056.tar.gz
mana-client-d32386353d28093a5d03ad99f161f8133d73e056.tar.bz2
mana-client-d32386353d28093a5d03ad99f161f8133d73e056.tar.xz
mana-client-d32386353d28093a5d03ad99f161f8133d73e056.zip
Some header order, namespace and lib fixes to improve MSVC support.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/log.h b/src/log.h
index a173fa5a..cd9079cb 100644
--- a/src/log.h
+++ b/src/log.h
@@ -24,18 +24,17 @@
#include <stdlib.h>
#include <stdio.h>
-#include <string>
-using namespace std;
#include <stdarg.h>
#include <time.h>
#ifdef WIN32
#include <allegro.h>
#include <winalleg.h>
#endif
+#include <string>
void init_log();
void log(const char *category, const char *log_text, ...);
-void error(string error_text);
+void error(std::string error_text);
void warning(const char *warning_text);
void status(const char *status_text);