author | ali <ali@juiblex.co.uk> |
Fri Jan 27 10:30:16 2012 +0000 (2012-01-27) | |
changeset 5 | f600b0d1fc5d |
parent 0 | gclib/utils.h@c2f4c0285180 |
permissions | -rw-r--r-- |
1 #ifndef BL_UTIL_H
2 #define BL_UTIL_H
4 #ifdef WIN32
5 #define BL_DIR_SEPARATOR '\\'
6 #define BL_DIR_SEPARATOR_S "\\"
7 #define BL_IS_DIR_SEPARATOR(c) ((c)==BL_DIR_SEPARATOR || (c)=='/')
8 #else
9 #define BL_DIR_SEPARATOR '/'
10 #define BL_DIR_SEPARATOR_S "/"
11 #define BL_IS_DIR_SEPARATOR(c) ((c)==BL_DIR_SEPARATOR)
12 #endif
14 char *path_get_basename(const char *filename);
16 #endif /* BL_UTIL_H */