X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fdevices%2Funixserial.h;fp=include%2Fdevices%2Funixserial.h;h=b044d439fdcaa81534209fef54893d4ff221a819;hp=1d098bd60b16a21b0db7855a9131364b5da67218;hb=a2dfc99dc499ea8600bf5178f8122125d7d7d557;hpb=1fdb423c0a2e33c1282bec25de66d9f40d56999b;ds=sidebyside diff --git a/include/devices/unixserial.h b/include/devices/unixserial.h index 1d098bd..b044d43 100644 --- a/include/devices/unixserial.h +++ b/include/devices/unixserial.h @@ -6,35 +6,20 @@ A Linux/Unix toolset and driver for Nokia mobile phones. - Copyright (C) 1999, 2000 Hugh Blemings & Pavel Janík ml. - Released under the terms of the GNU GPL, see file COPYING for more details. - $Log$ - Revision 1.1.1.2 2001/11/27 22:01:28 short - :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001 - - Revision 1.3 2001/11/27 12:19:01 pkot - Cleanup, indentation, ANSI complaint preprocesor symbols (Jan Kratochvil, me) - - Revision 1.2 2001/08/20 23:27:37 pkot - Add hardware shakehand to the link layer (Manfred Jonsson) - - Revision 1.1 2001/02/21 19:57:12 chris - More fiddling with the directory layout - */ #ifndef __devices_unixserial_h #define __devices_unixserial_h #ifdef WIN32 -# include + #include /* FIXME: this should be solved in config.h in 0.4.0 */ -# define __const const - typedef void * __ptr_t; + #define __const const + typedef void * __ptr_t; #else -# include + #include #endif /* WIN32 */ #include "misc.h" @@ -53,3 +38,7 @@ size_t serial_write(int __fd, __const __ptr_t __buf, size_t __n); int serial_select(int fd, struct timeval *timeout); #endif /* __devices_unixserial_h */ + + + +