Changeset View
Changeset View
Standalone View
Standalone View
iso/libisofs/iso_fs.h
Show All 20 Lines | |||||
21 | * along with Krusader. If not, see [http://www.gnu.org/licenses/]. * | 21 | * along with Krusader. If not, see [http://www.gnu.org/licenses/]. * | ||
22 | *****************************************************************************/ | 22 | *****************************************************************************/ | ||
23 | 23 | | |||
24 | #ifndef ISO_FS_H | 24 | #ifndef ISO_FS_H | ||
25 | #define ISO_FS_H | 25 | #define ISO_FS_H | ||
26 | 26 | | |||
27 | #include "bswap.h" | 27 | #include "bswap.h" | ||
28 | 28 | | |||
29 | #ifdef Q_WS_WIN | 29 | #ifdef Q_OS_WIN | ||
30 | #define DIR_SEPARATOR "/" | 30 | #define DIR_SEPARATOR "/" | ||
31 | #define DIR_SEPARATOR2 "\\" | 31 | #define DIR_SEPARATOR2 "\\" | ||
32 | #define DIR_SEPARATOR_CHAR '/' | 32 | #define DIR_SEPARATOR_CHAR '/' | ||
33 | #define DIR_SEPARATOR_CHAR2 '\\' | 33 | #define DIR_SEPARATOR_CHAR2 '\\' | ||
34 | #define REPLACE_DIR_SEP2(x) x = x.replace( DIR_SEPARATOR2, DIR_SEPARATOR ); | 34 | #define REPLACE_DIR_SEP2(x) x = x.replace( DIR_SEPARATOR2, DIR_SEPARATOR ); | ||
35 | #else | 35 | #else | ||
36 | #define DIR_SEPARATOR "/" | 36 | #define DIR_SEPARATOR "/" | ||
37 | #define DIR_SEPARATOR2 "/" | 37 | #define DIR_SEPARATOR2 "/" | ||
▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines |