]> git.saurik.com Git - wxWidgets.git/commitdiff
typos fixed
authorKarsten Ballüder <ballueder@usa.net>
Tue, 20 Apr 1999 10:30:53 +0000 (10:30 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Tue, 20 Apr 1999 10:30:53 +0000 (10:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/buffer.h

index 9bed7fca305a06c4bfdeadec200b4410ded4eba2..dea159f83382d6cbbde7767917aafce0836e39c0 100644 (file)
 #include "wx/wxchar.h"
 #include <string.h> // strdup
 
-// wchar.h isn't available on my system (Linux, g++ 2.7.2). JACS.
-#ifdef __LINUX__
+#ifdef HAVE_WCSTR_H
 #include <wcstr.h>
-#else
+#elif defined( HAVE_WCHAR_H )
 #include <wchar.h>  // wchar_t
+#else
+#pragma error "Don't know what to do!"
 #endif
 
 // ----------------------------------------------------------------------------