adapt path separator to handle WIN32 backslash.

This commit is contained in:
iceman1001 committed 2022-12-31 22:30:07 +01:00
1 parent 2b27ce0286
commit d6af860136
2 files changed
+10 -1

No files matched your search

+7
View File
@@ -23,7 +23,14 @@
#include <stddef.h>
#include <stdbool.h>
#ifdef _WIN32
#define ABOVE "..\\"
#define PATHSEP "\\"
#else
#define ABOVE "../"
#define PATHSEP "/"
#endif
// PM3 share path relative to executable when installed
#define PM3_SHARE_RELPATH ".." PATHSEP "share" PATHSEP "proxmark3" PATHSEP