Subversion Repositories Programming Utils

Compare Revisions

Ignore whitespace Rev 77 → Rev 80

/trunk/JavaSerial/NativeCode/SerialPortImpl.c
20,7 → 20,6
#define close(handle) CloseHandle(handle)
#else
#include <termio.h>
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>
27,7 → 26,13
#include <unistd.h>
#include <dirent.h>
#include <pthread.h>
#include <sys/ioctl.h>
#include <errno.h>
 
#ifndef ENOMEDIUM
#define ENOMEDIUM ENODEV
#endif
 
#ifdef CRTSCTS
#define HW_FLOW CRTSCTS
#elif CNEW_RTSCTS