mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
Update finger to build again.
svn path=/trunk/; revision=7672
This commit is contained in:
parent
d236f9c5f7
commit
f1ec3f9804
2 changed files with 4 additions and 23 deletions
|
@ -9,6 +9,8 @@ TARGET_NAME = finger
|
|||
|
||||
TARGET_SDKLIBS = ws2_32.a
|
||||
|
||||
TARGET_CFLAGS = -D__USE_W32_SOCKETS
|
||||
|
||||
TARGET_OBJECTS = $(TARGET_NAME).o \
|
||||
err.o \
|
||||
getopt.o \
|
||||
|
|
|
@ -4,26 +4,12 @@
|
|||
#ifndef VARIOUS_H
|
||||
#define VARIOUS_H
|
||||
|
||||
/* types.h */
|
||||
typedef unsigned char u_char;
|
||||
typedef unsigned int u_int;
|
||||
|
||||
typedef float f4byte_t;
|
||||
typedef double f8byte_t;
|
||||
//typedef __int16 s2byte_t;
|
||||
//typedef __int32 s4byte_t;
|
||||
//typedef __int64 s8byte_t;
|
||||
//typedef unsigned __int16 u2byte_t;
|
||||
//typedef unsigned __int32 u4byte_t;
|
||||
//typedef unsigned __int64 u8byte_t;
|
||||
//typedef __int32 quad_t;
|
||||
//typedef unsigned __int32 u_quad_t;
|
||||
//typedef unsigned __int16 u_int16_t;
|
||||
//typedef unsigned __int32 u_int32_t;
|
||||
|
||||
typedef long uid_t; // SunOS 5.5
|
||||
|
||||
#define __P(x) x
|
||||
#define __STDC__ 1
|
||||
|
||||
/* utmp.h */
|
||||
#define UT_LINESIZE 8
|
||||
|
@ -45,11 +31,4 @@ typedef long uid_t; // SunOS 5.5
|
|||
#define index(s, c) strchr(s, c)
|
||||
#define rindex(s, c) strrchr(s, c)
|
||||
|
||||
//#ifndef _WINSOCKAPI_
|
||||
//struct timeval {
|
||||
// long tv_sec; /* seconds */
|
||||
// long tv_usec; /* and microseconds */
|
||||
//};
|
||||
//#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue