|
1 | 1 | /* |
2 | | - NppFTP: FTP/SFTP functionality for Notepad++ |
3 | | - Copyright (C) 2010 Harry (harrybharry@users.sourceforge.net) |
| 2 | + NppFTP: FTP/SFTP functionality for Notepad++ |
| 3 | + Copyright (C) 2010 Harry (harrybharry@users.sourceforge.net) |
4 | 4 |
|
5 | | - This program is free software: you can redistribute it and/or modify |
6 | | - it under the terms of the GNU General Public License as published by |
7 | | - the Free Software Foundation, either version 3 of the License, or |
8 | | - (at your option) any later version. |
| 5 | + This program is free software: you can redistribute it and/or modify |
| 6 | + it under the terms of the GNU General Public License as published by |
| 7 | + the Free Software Foundation, either version 3 of the License, or |
| 8 | + (at your option) any later version. |
9 | 9 |
|
10 | | - This program is distributed in the hope that it will be useful, |
11 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | | - GNU General Public License for more details. |
| 10 | + This program is distributed in the hope that it will be useful, |
| 11 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | + GNU General Public License for more details. |
14 | 14 |
|
15 | | - You should have received a copy of the GNU General Public License |
16 | | - along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | + You should have received a copy of the GNU General Public License |
| 16 | + along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | */ |
18 | 18 |
|
19 | 19 | //System headers |
20 | 20 | #define _WIN32_IE 0x0501 |
21 | 21 | #define _WIN32_WINNT 0x0501 |
| 22 | +#define NOMINMAX 1 |
| 23 | + |
22 | 24 | #include <winsock2.h> |
23 | 25 | #include <windows.h> |
24 | 26 | #include <shellapi.h> |
|
28 | 30 | #include <string> |
29 | 31 | #include <vector> |
30 | 32 | #include <deque> |
| 33 | +#include <algorithm> |
31 | 34 |
|
32 | 35 | //Library headers |
33 | 36 | #include "tinyxml.h" |
|
0 commit comments