winpr-comm, serial: excluded Android platforms as well

This commit is contained in:
Emmanuel Ledoux 2014-07-04 17:40:06 +02:00 committed by Emmanuel Ledoux
parent 4fad947cb4
commit 80f641c38a
13 changed files with 14 additions and 14 deletions

View File

@ -44,7 +44,7 @@
/* TODO: all #ifdef __linux__ could be removed once only some generic /* TODO: all #ifdef __linux__ could be removed once only some generic
* functions will be used. Replace CommReadFile by ReadFile, * functions will be used. Replace CommReadFile by ReadFile,
* CommWriteFile by WriteFile etc.. */ * CommWriteFile by WriteFile etc.. */
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#define MAX_IRP_THREADS 5 #define MAX_IRP_THREADS 5
@ -740,7 +740,7 @@ int DeviceServiceEntry(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints)
char* path; char* path;
char* driver; char* driver;
RDPDR_SERIAL* device; RDPDR_SERIAL* device;
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
int i, len; int i, len;
SERIAL_DEVICE* serial; SERIAL_DEVICE* serial;
#endif /* __linux__ */ #endif /* __linux__ */

View File

@ -29,7 +29,7 @@
#include <winpr/wtypes.h> #include <winpr/wtypes.h>
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#define NOPARITY 0 #define NOPARITY 0
#define ODDPARITY 1 #define ODDPARITY 1

View File

@ -24,7 +24,7 @@
#include "config.h" #include "config.h"
#endif #endif
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>

View File

@ -21,7 +21,7 @@
#ifndef WINPR_COMM_PRIVATE_H #ifndef WINPR_COMM_PRIVATE_H
#define WINPR_COMM_PRIVATE_H #define WINPR_COMM_PRIVATE_H
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include <linux/serial.h> #include <linux/serial.h>
#include <sys/eventfd.h> #include <sys/eventfd.h>

View File

@ -21,7 +21,7 @@
#include "config.h" #include "config.h"
#endif #endif
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>

View File

@ -24,7 +24,7 @@
#include "config.h" #include "config.h"
#endif #endif
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include <assert.h> #include <assert.h>

View File

@ -22,7 +22,7 @@
#ifndef WINPR_COMM_IOCTL_H_ #ifndef WINPR_COMM_IOCTL_H_
#define WINPR_COMM_IOCTL_H_ #define WINPR_COMM_IOCTL_H_
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include <termios.h> #include <termios.h>

View File

@ -20,7 +20,7 @@
* limitations under the License. * limitations under the License.
*/ */
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include <winpr/wlog.h> #include <winpr/wlog.h>

View File

@ -20,7 +20,7 @@
#ifndef COMM_SERCX2_SYS_H #ifndef COMM_SERCX2_SYS_H
#define COMM_SERCX2_SYS_H #define COMM_SERCX2_SYS_H
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include "comm_ioctl.h" #include "comm_ioctl.h"

View File

@ -20,7 +20,7 @@
* limitations under the License. * limitations under the License.
*/ */
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include <assert.h> #include <assert.h>
#include <termios.h> #include <termios.h>

View File

@ -20,7 +20,7 @@
#ifndef COMM_SERCX_SYS_H #ifndef COMM_SERCX_SYS_H
#define COMM_SERCX_SYS_H #define COMM_SERCX_SYS_H
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include "comm_ioctl.h" #include "comm_ioctl.h"

View File

@ -20,7 +20,7 @@
* limitations under the License. * limitations under the License.
*/ */
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>

View File

@ -20,7 +20,7 @@
#ifndef COMM_SERIAL_SYS_H #ifndef COMM_SERIAL_SYS_H
#define COMM_SERIAL_SYS_H #define COMM_SERIAL_SYS_H
#ifdef __linux__ #if defined __linux__ && !defined ANDROID
#include "comm_ioctl.h" #include "comm_ioctl.h"