2
0

path.h 244 B

12345678910111213141516171819
  1. #ifndef AFUN_PATH_H
  2. #define AFUN_PATH_H
  3. /* 路径工具 */
  4. #ifdef __linux__
  5. #define SEP "/"
  6. #define SEP_CH '/'
  7. #define SHARED_MARK ".so"
  8. #else
  9. #define SEP "\\"
  10. #define SEP_CH '\\'
  11. #define SHARED_MARK ".dll"
  12. #endif
  13. #endif //AFUN_PATH_H