mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-22 03:33:41 -04:00
+ port to windows
This commit is contained in:
parent
4b545b8ae2
commit
784f87e715
@ -19,6 +19,10 @@
|
||||
|
||||
#include "pathTools.h"
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 1024
|
||||
#endif
|
||||
|
||||
bool isRelativePath(const string &path) {
|
||||
#ifdef _WIN32
|
||||
return path.empty() || path.substr(1, 2) == ":\\" ? false : true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user