/[gcl]/gcl/binutils/libiberty/lbasename.c
ViewVC logotype

Diff of /gcl/binutils/libiberty/lbasename.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by camm, Fri Aug 9 05:36:28 2002 UTC revision 1.1.1.1.20.1 by camm, Fri Sep 30 02:10:43 2005 UTC
# Line 40  and a path ending in @code{/} returns th Line 40  and a path ending in @code{/} returns th
40  #include "ansidecl.h"  #include "ansidecl.h"
41  #include "libiberty.h"  #include "libiberty.h"
42  #include "safe-ctype.h"  #include "safe-ctype.h"
43    #include "filenames.h"
 #ifndef DIR_SEPARATOR  
 #  define DIR_SEPARATOR '/'  
 #endif  
   
 #if defined (_WIN32) || defined (__MSDOS__) \  
     || defined (__DJGPP__) || defined (__OS2__)  
 #  define HAVE_DOS_BASED_FILE_SYSTEM  
 #  ifndef DIR_SEPARATOR_2  
 #    define DIR_SEPARATOR_2 '\\'  
 #  endif  
 #endif  
   
 #ifndef DIR_SEPARATOR_2  
 #  define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)  
 #else  
 #  define IS_DIR_SEPARATOR(ch) \  
         (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))  
 #endif  
44    
45  const char *  const char *
46  lbasename (name)  lbasename (name)

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.20.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26