summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-01-04 18:58:43 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-01-04 18:58:43 +0000
commit180f39cb9da6e3169f95e9da5c8782c50f826af4 (patch)
treebdd66467f4d87d0618ddf2d2fcc67b722480cea4 /src/main.cpp
parent0407ba5655db79e81f6fc23d660e37a927b8f7cc (diff)
downloadmana-client-180f39cb9da6e3169f95e9da5c8782c50f826af4.tar.gz
mana-client-180f39cb9da6e3169f95e9da5c8782c50f826af4.tar.bz2
mana-client-180f39cb9da6e3169f95e9da5c8782c50f826af4.tar.xz
mana-client-180f39cb9da6e3169f95e9da5c8782c50f826af4.zip
FreeBSD Fixes from Icy.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0a126afb..f0f885e7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -33,7 +33,7 @@
#include <libxml/parser.h>
-#ifdef __USE_UNIX98
+#if (defined __USE_UNIX98 || defined __FreeBSD__)
#include <cerrno>
#include <sys/stat.h>
#endif
@@ -136,7 +136,7 @@ void init_engine()
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
std::string homeDir = "";
-#ifndef __USE_UNIX98
+#if !(defined __USE_UNIX98 || defined __FreeBSD__)
// In Windows and other systems we currently store data next to executable.
homeDir = ".";
#else