Replace backslash in file paths to slash
authorJohn Rockefeller <jrockefeller1@gmail.com>
Thu, 7 Sep 2017 03:18:42 +0000 (23:18 -0400)
committerGitHub <noreply@github.com>
Thu, 7 Sep 2017 03:18:42 +0000 (23:18 -0400)
This fix makes it possible to cross-compile the software on multiple OSs. Windows should also be able to handle this change just fine.

src/file.cpp

index 412599f..56de1c2 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "file.h"
 #if defined(_MSC_VER)
-#include "_MSC_VER\config.h"
+#include "_MSC_VER/config.h"
 #endif // _MSC_VER
 #include <stdarg.h>
 #include <string.h>
 #include "universalhdr.h"
 #include "unzip.h"
 #include "zlib.h"
-#include "libelf\libelf.h"
-#include "libelf\gelf.h"
+#include "libelf/libelf.h"
+#include "libelf/gelf.h"
 #include "libdwarf.h"
-#include "Debugger\ELFManager.h"
-#include "debugger\DBGManager.h"
+#include "Debugger/ELFManager.h"
+#include "debugger/DBGManager.h"
 
 
 // Private function prototypes