[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kleopatra/utils
From: Marc Mutz <mutz () kde ! org>
Date: 2010-09-23 12:47:09
Message-ID: 20100923124709.2DED4AC88C () svn ! kde ! org
[Download RAW message or body]
SVN commit 1178658 by mutz:
utils/detail_p.h: Q_OS_WIN32 -> _WIN32 so that it's also triggered on wince
M +4 -4 detail_p.h
--- trunk/KDE/kdepim/kleopatra/utils/detail_p.h #1178657:1178658
@@ -39,7 +39,7 @@
#include <QByteArray>
-#ifdef Q_OS_WIN32
+#ifdef _WIN32
#include <io.h>
#endif
@@ -74,7 +74,7 @@
static inline int translate_sys2libc_fd( assuan_fd_t fd, bool for_write ) {
if ( fd == ASSUAN_INVALID_FD )
return -1;
-#ifdef Q_OS_WIN32
+#ifdef _WIN32
return _open_osfhandle( (intptr_t)fd, for_write );
#else
(void)for_write;
@@ -85,7 +85,7 @@
static inline assuan_fd_t translate_libc2sys_fd( int fd ) {
if ( fd == -1 )
return ASSUAN_INVALID_FD;
-#ifdef Q_OS_WIN32
+#ifdef _WIN32
return (assuan_fd_t)_get_osfhandle( fd );
#else
return fd;
@@ -96,7 +96,7 @@
//suitable for debug output
static inline qulonglong assuanFD2int( assuan_fd_t fd )
{
-#ifdef Q_OS_WIN32
+#ifdef _WIN32
return reinterpret_cast<qulonglong>( fd );
#else
return static_cast<qulonglong>( fd );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic