Skip to content
Snippets Groups Projects
Commit 42b4b893 authored by rswindell's avatar rswindell
Browse files

Added BACKSLASH macro for *nix compatibility.

parent 31c26bda
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,12 @@ ...@@ -70,6 +70,12 @@
#endif #endif
#if defined(__unix__)
#define BACKSLASH '/'
#else /* MS-DOS based OS */
#define BACKSLASH '\\'
#endif
/* Target Platform Description */ /* Target Platform Description */
#if defined(_WIN32) #if defined(_WIN32)
#define PLATFORM_DESC "Win32" #define PLATFORM_DESC "Win32"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment