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:
parent
cdb092ba05
commit
62f5c82882
@ -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"
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user