]> git.wh0rd.org Git - nano.git/commitdiff
#ifdef fixes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 23 Dec 2004 21:32:27 +0000 (21:32 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 23 Dec 2004 21:32:27 +0000 (21:32 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2195 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/utils.c
src/winio.c

index 75c8765a82a7067f920ddec2d42c8d38077420de..3a38b264168147784fc50c4672464ab05ff23c6f 100644 (file)
@@ -33,7 +33,7 @@
 #include "proto.h"
 #include "nano.h"
 
-#ifdef HAVE_WCHAR_H
+#if defined(HAVE_WCHAR_H) && defined(NANO_WIDE)
 #include <wchar.h>
 #endif
 
index fb990b9025abde49f494e5a57298220cf137e012..bea1680b39d7a8fa3e0796285054e975cf966c2e 100644 (file)
@@ -32,7 +32,7 @@
 #include "proto.h"
 #include "nano.h"
 
-#ifdef HAVE_WCHAR_H
+#if defined(HAVE_WCHAR_H) && defined(NANO_WIDE)
 #include <wchar.h>
 #endif