diff options
Diffstat (limited to 'src/w32-qt-io.cpp')
-rw-r--r-- | src/w32-qt-io.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/w32-qt-io.cpp b/src/w32-qt-io.cpp index 681493ff..08f780f1 100644 --- a/src/w32-qt-io.cpp +++ b/src/w32-qt-io.cpp @@ -674,3 +674,20 @@ _gpgme_io_dup (int fd) return fd; } + +extern "C" +int +_gpgme_io_socket (int domain, int type, int proto) +{ + errno = EIO; + return -1; +} + + +extern "C" +int +_gpgme_io_connect (int fd, struct sockaddr *addr, int addrlen) +{ + errno = EIO; + return -1; +} |