Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Runtime
Commits
5a7edee3
Commit
5a7edee3
authored
Nov 05, 2020
by
Daniel Vrátil
🤖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kioslaves: Fix build with MSVC
parent
22624eed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
kioslave/akonadi/akonadislave.cpp
kioslave/akonadi/akonadislave.cpp
+8
-0
kioslave/pop3/pop3.cpp
kioslave/pop3/pop3.cpp
+13
-0
No files found.
kioslave/akonadi/akonadislave.cpp
View file @
5a7edee3
...
...
@@ -22,6 +22,14 @@
#include <QCommandLineParser>
#include <QCommandLineOption>
#ifdef Q_OS_WIN
// see kio/core/src/kioglobal_p.h
#define S_IRUSR 0400
#define S_IRGRP 0040
#define S_IROTH 0004
#endif
extern
"C"
{
int
Q_DECL_EXPORT
kdemain
(
int
argc
,
char
**
argv
);
}
...
...
kioslave/pop3/pop3.cpp
View file @
5a7edee3
...
...
@@ -28,6 +28,19 @@ extern "C" {
#include <kio/slaveinterface.h>
#include <string.h>
#ifdef _MSC_VER
#define strcasecmp _stricmp
#endif
#ifdef Q_OS_WIN
// See kio/src/core/kioglobal_p.h
#define S_IRUSR 0400
#define S_IWUSR 0200
#define S_IXUSR 0100
#endif
#define GREETING_BUF_LEN 1024
#define MAX_RESPONSE_LEN 512
#define MAX_COMMANDS 10
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment