fix dummylocales not working, parts of 2008-03-23T23:46:55Z!esr@thyrsus.com and 2008-03-24T13:43:45Z!esr@thyrsus.com broke it

This commit is contained in:
Nils Kneuper 2008-04-02 13:53:38 +00:00
parent c197ddb89a
commit b13924981f
2 changed files with 7 additions and 0 deletions

View file

@ -25,6 +25,7 @@
#include "util.hpp"
#include "serialization/parser.hpp"
#include "serialization/preprocessor.hpp"
#include "wesconfig.h" //without this DUMMYLOCALES break
#include <algorithm>
#include <cassert>

View file

@ -13,11 +13,17 @@
// via autotools are broken, which is ATM not acceptable
//#define HAVE_PYTHON
// without this ifdef DUMMYLOCALES break, so leave it in even though is seems
// to not have any real purpose...
#ifdef HAVE_CONFIG_H
# include "config.h"
#else
# define VERSION "1.5.0-svn"
# define PACKAGE "wesnoth"
# ifndef LOCALEDIR
# define LOCALEDIR "translations"
# endif
#endif
/**
* Some older savegames of Wesnoth cannot be loaded anymore,