Changeset 599 for CMT/HEAD/source/cmt_system.h
- Timestamp:
- Dec 23, 2011, 5:47:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_system.h
r595 r599 80 80 const cmt_string& name2); 81 81 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 } 83 90 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 (); 87 108 static const cmt_string& ev_open (); 88 109 static const cmt_string& ev_close ();
Note: See TracChangeset
for help on using the changeset viewer.