Removed VS warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2009-05-25 04:29:09 +00:00
parent cdb092ba05
commit 62f5c82882
2 changed files with 9 additions and 2 deletions

View File

@ -18,6 +18,13 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// Note: the irrlicht include is only here (and esp. before including
// translation.hpp, which contradicts our style rule) to avoid the
// warning message " 'swprintf' : macro redefinition"
// This happens if libintl.h is included before irrlicht.h (since
// both files redefine swprintf).
#include "irrlicht.h"
#include "utils/translation.hpp"
#include "io/file_manager.hpp"

View File

@ -17,8 +17,8 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef TRANSLATION_H
#define TRANSLATION_H
#ifndef TRANSLATION_HPP
#define TRANSLATION_HPP
#if ENABLE_NLS
# include <libintl.h>