diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2001-12-29 21:38:59 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-29 20:17:55 +0000 |
commit | cb69f87a007debfba124ee7db6ef7f6a2ac42df7 (patch) | |
tree | bbebb41aaeae6ba3d9971476a732fd1eb34f8792 /wince/include | |
parent | 9250d75a95295dd09aed581838f0b619792911cd (diff) | |
download | perl-cb69f87a007debfba124ee7db6ef7f6a2ac42df7.tar.gz |
from the non-ANSI comment police (was: it won't compile on win32)
Message-Id: <20011229203646.24CF.H.M.BRAND@hccnet.nl>
(NetWare tree not touched because it's very //)
p4raw-id: //depot/perl@13939
Diffstat (limited to 'wince/include')
-rw-r--r-- | wince/include/errno.h | 2 | ||||
-rw-r--r-- | wince/include/netdb.h | 8 | ||||
-rw-r--r-- | wince/include/sys/socket.h | 20 | ||||
-rw-r--r-- | wince/include/sys/stat.h | 2 |
4 files changed, 16 insertions, 16 deletions
diff --git a/wince/include/errno.h b/wince/include/errno.h index 4dba2d89d9..592816fbe2 100644 --- a/wince/include/errno.h +++ b/wince/include/errno.h @@ -24,7 +24,7 @@ extern int errno; #define ENOMEM 12 #define EACCES 13 #define EFAULT 14 -#define EOSERR 15 // rk +#define EOSERR 15 /* rk */ #define EBUSY 16 #define EEXIST 17 #define EXDEV 18 diff --git a/wince/include/netdb.h b/wince/include/netdb.h index b0c5ea1949..43c03c7544 100644 --- a/wince/include/netdb.h +++ b/wince/include/netdb.h @@ -1,7 +1,7 @@ -// netdb.h +/* netdb.h */ -// djl -// Provide UNIX compatibility +/* djl */ +/* Provide UNIX compatibility */ #ifndef _INC_NETDB @@ -9,4 +9,4 @@ #include <sys/socket.h> -#endif //_INC_NETDB +#endif /* _INC_NETDB */ diff --git a/wince/include/sys/socket.h b/wince/include/sys/socket.h index 2d6f7b8306..fbc6e098db 100644 --- a/wince/include/sys/socket.h +++ b/wince/include/sys/socket.h @@ -1,7 +1,7 @@ -// sys/socket.h +/* sys/socket.h */ -// djl -// Provide UNIX compatibility +/* djl */ +/* Provide UNIX compatibility */ #ifndef _INC_SYS_SOCKET #define _INC_SYS_SOCKET @@ -51,10 +51,10 @@ typedef struct _OVERLAPPED { #endif #endif -#endif //_WINDOWS_ -// #ifndef __GNUC__ +#endif /* _WINDOWS_ */ +/* #ifndef __GNUC__ */ #include <winsock.h> -// #endif +/* #endif */ #define ENOTSOCK WSAENOTSOCK #undef HOST_NOT_FOUND @@ -147,9 +147,9 @@ void win32_endprotoent(void); void win32_endservent(void); #ifndef WIN32SCK_IS_STDSCK -// -// direct to our version -// + +/* direct to our version */ + #define htonl win32_htonl #define htons win32_htons #define ntohl win32_ntohl @@ -214,4 +214,4 @@ void win32_endservent(void); } #endif -#endif // _INC_SYS_SOCKET +#endif /* _INC_SYS_SOCKET */ diff --git a/wince/include/sys/stat.h b/wince/include/sys/stat.h index 7a5e383fc9..2f5c6348d5 100644 --- a/wince/include/sys/stat.h +++ b/wince/include/sys/stat.h @@ -3,7 +3,7 @@ #include <sys/types.h> -// stat.h +/* stat.h */ #define _S_IFMT 0170000 /* file type mask */ #define _S_IFDIR 0040000 /* directory */ #define _S_IFCHR 0020000 /* character special */ |