Ignore:
Timestamp:
Dec 23, 2011, 5:47:15 PM (13 years ago)
Author:
rybkin
Message:

See C.L. 476

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_system.h

    r595 r599  
    8080                                        const cmt_string& name2);
    8181  static int file_size (const cmt_string& name);
    82   static char file_separator ();
     82  inline static char file_separator ()
     83    {
     84#ifdef WIN32
     85      return ('\\');
     86#else
     87      return ('/');
     88#endif
     89    }
    8390  static void reduce_file_separators (cmt_string& text);
    84   static char path_separator ();
    85   static char command_separator ();
    86   static const char* cwd_variable ();
     91  inline static char path_separator ()
     92    {
     93#ifdef WIN32
     94      return (';');
     95#else
     96      return (':');
     97#endif
     98    }
     99  inline static char command_separator ()
     100    {
     101#ifdef WIN32
     102      return ('&');
     103#else
     104      return (';');
     105#endif
     106    }
     107  //static const char* cwd_variable ();
    87108  static const cmt_string& ev_open ();
    88109  static const cmt_string& ev_close ();
Note: See TracChangeset for help on using the changeset viewer.