/////////////////////////////////////////////////////////////////////////////
-// Name: filefn.cpp
+// Name: src/common/filefn.cpp
// Purpose: File- and directory-related functions
// Author: Julian Smart
// Modified by:
#if defined(__WXPALMOS__)
// TODO
if(buf && sz>0) buf[0] = _T('\0');
- return NULL;
+ return buf;
#elif defined(__WXWINCE__)
// TODO
if(buf && sz>0) buf[0] = _T('\0');
- return NULL;
+ return buf;
#else
if ( !buf )
{
{
// Note: The watcom rtl dll doesn't have fileno (the static lib does).
// Should be fixed in version 1.4.
-#if defined(wxFILEKIND_STUB) || \
- (defined(__WATCOMC__) && __WATCOMC__ <= 1230 && defined(__SW_BR))
+#if defined(wxFILEKIND_STUB) || wxONLY_WATCOM_EARLIER_THAN(1,4)
(void)fp;
return wxFILE_KIND_DISK;
#else