summaryrefslogtreecommitdiff
path: root/protocols/Telegram
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-07-22 10:45:08 +0000
committerRobert Pösel <robyer@seznam.cz>2016-07-22 10:45:08 +0000
commit2482ce144705af4a8bbfac069343d9e0d7eb3e75 (patch)
treefd1604f779c0a154f9218932f70891e65f1b18b4 /protocols/Telegram
parent7e7cc4907749e87692855aee01caa0cfbc791c5b (diff)
Standardize use of slashes in includes to "/" (thanks ybznek for idea)
Previous paths weren't usable on Linux git-svn-id: http://svn.miranda-ng.org/main/trunk@17121 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Telegram')
-rw-r--r--protocols/Telegram/src/stdafx.h14
-rw-r--r--protocols/Telegram/src/tgl/auto/auto-store-ds.c4
-rw-r--r--protocols/Telegram/src/tgl/auto/auto-store.c6
-rw-r--r--protocols/Telegram/src/tgl/auto/auto-types.c2
-rw-r--r--protocols/Telegram/src/tgl/tgl-net.c4
-rw-r--r--protocols/Telegram/src/tgl/tools.c2
6 files changed, 16 insertions, 16 deletions
diff --git a/protocols/Telegram/src/stdafx.h b/protocols/Telegram/src/stdafx.h
index 3393f840e7..43047dfb4a 100644
--- a/protocols/Telegram/src/stdafx.h
+++ b/protocols/Telegram/src/stdafx.h
@@ -1,7 +1,7 @@
#ifndef _STDAFX_H_
#define _STDAFX_H_
-#include "..\..\..\miranda-private-keys\Telegram\api.h"
+#include "../../../miranda-private-keys/Telegram/api.h"
#include <windows.h>
#include <time.h>
@@ -41,12 +41,12 @@
extern "C"
{
- #include "tgl\tgl.h"
- #include "tgl\tgl-net.h"
- #include "tgl\tgl-timers.h"
- #include "tgl\tgl-binlog.h"
- #include "tgl\config.h"
- #include "tgl\mtproto-client.h"
+ #include "tgl/tgl.h"
+ #include "tgl/tgl-net.h"
+ #include "tgl/tgl-timers.h"
+ #include "tgl/tgl-binlog.h"
+ #include "tgl/config.h"
+ #include "tgl/mtproto-client.h"
}
diff --git a/protocols/Telegram/src/tgl/auto/auto-store-ds.c b/protocols/Telegram/src/tgl/auto/auto-store-ds.c
index 3b963b6ef3..fcc84539db 100644
--- a/protocols/Telegram/src/tgl/auto/auto-store-ds.c
+++ b/protocols/Telegram/src/tgl/auto/auto-store-ds.c
@@ -1,9 +1,9 @@
#ifdef _MSC_VER
-#include "..\auto.h"
+#include "../auto.h"
#include "auto-store-ds.h"
#include "auto-skip.h"
#include "auto-types.h"
-#include "..\mtproto-common.h"
+#include "../mtproto-common.h"
#else
#include "auto.h"
#include "auto/auto-store-ds.h"
diff --git a/protocols/Telegram/src/tgl/auto/auto-store.c b/protocols/Telegram/src/tgl/auto/auto-store.c
index 50d5ff7970..99dc5c392c 100644
--- a/protocols/Telegram/src/tgl/auto/auto-store.c
+++ b/protocols/Telegram/src/tgl/auto/auto-store.c
@@ -1,8 +1,8 @@
#ifdef _MSC_VER
-#include "..\auto.h"
-#include "..\mtproto-common.h"
+#include "../auto.h"
+#include "../mtproto-common.h"
#include "auto-store.h"
-#include "..\auto-static-store.c"
+#include "../auto-static-store.c"
#else
#include "auto.h"
#include "mtproto-common.h"
diff --git a/protocols/Telegram/src/tgl/auto/auto-types.c b/protocols/Telegram/src/tgl/auto/auto-types.c
index d81edf0949..5521ddde8c 100644
--- a/protocols/Telegram/src/tgl/auto/auto-types.c
+++ b/protocols/Telegram/src/tgl/auto/auto-types.c
@@ -1,5 +1,5 @@
#ifdef _MSC_VER
-#include "..\auto.h"
+#include "../auto.h"
#else
#include "auto.h"
#endif
diff --git a/protocols/Telegram/src/tgl/tgl-net.c b/protocols/Telegram/src/tgl/tgl-net.c
index 7439ee145d..abba34dac8 100644
--- a/protocols/Telegram/src/tgl/tgl-net.c
+++ b/protocols/Telegram/src/tgl/tgl-net.c
@@ -32,8 +32,8 @@
#if defined(WIN32) || defined(_WIN32)
#include <io.h>
#include <fcntl.h>
-#include <sys\types.h>
-#include <sys\stat.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <stdint.h>
#include <string.h>
#include <winsock2.h>
diff --git a/protocols/Telegram/src/tgl/tools.c b/protocols/Telegram/src/tgl/tools.c
index 2e94ef9332..03b89d0523 100644
--- a/protocols/Telegram/src/tgl/tools.c
+++ b/protocols/Telegram/src/tgl/tools.c
@@ -30,7 +30,7 @@
#include <string.h>
#include <openssl/err.h>
#include <openssl/rand.h>
-#include "..\..\..\..\libs\zlib\src\zlib.h"
+#include "../../../../libs/zlib/src/zlib.h"
#include <time.h>
#if defined(WIN32) || defined(_WIN32)
#include <sys/timeb.h>