changeset 7277:6ed0f59b1fd7 draft

(svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and')
author glx <glx@openttd.org>
date Wed, 18 Jul 2007 02:08:56 +0000
parents 09ed8c0bd0ed
children a16a9c0c2aeb
files src/stdafx.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -349,10 +349,10 @@
 #define _stricmp strcasecmp
 #endif
 
-#if !defined(MORPHOS) and !defined(OPENBSD)
+#if !defined(MORPHOS) && !defined(OPENBSD)
 /* MorphOS & OpenBSD don't know wchars, the rest does :( */
 #define HAS_WCHAR
-#endif /* !defined(MORHPOS) and !defined(OPENBSD) */
+#endif /* !defined(MORPHOS) && !defined(OPENBSD) */
 
 #if !defined(MAX_PATH)
 # define MAX_PATH 260