mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +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_SDKLIBS = ws2_32.a
|
||||||
|
|
||||||
|
TARGET_CFLAGS = -D__USE_W32_SOCKETS
|
||||||
|
|
||||||
TARGET_OBJECTS = $(TARGET_NAME).o \
|
TARGET_OBJECTS = $(TARGET_NAME).o \
|
||||||
err.o \
|
err.o \
|
||||||
getopt.o \
|
getopt.o \
|
||||||
|
|
|
@ -4,26 +4,12 @@
|
||||||
#ifndef VARIOUS_H
|
#ifndef VARIOUS_H
|
||||||
#define VARIOUS_H
|
#define VARIOUS_H
|
||||||
|
|
||||||
/* types.h */
|
|
||||||
typedef unsigned char u_char;
|
|
||||||
typedef unsigned int u_int;
|
|
||||||
typedef float f4byte_t;
|
typedef float f4byte_t;
|
||||||
typedef double f8byte_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
|
typedef long uid_t; // SunOS 5.5
|
||||||
|
|
||||||
#define __P(x) x
|
#define __P(x) x
|
||||||
#define __STDC__ 1
|
|
||||||
|
|
||||||
/* utmp.h */
|
/* utmp.h */
|
||||||
#define UT_LINESIZE 8
|
#define UT_LINESIZE 8
|
||||||
|
@ -45,11 +31,4 @@ typedef long uid_t; // SunOS 5.5
|
||||||
#define index(s, c) strchr(s, c)
|
#define index(s, c) strchr(s, c)
|
||||||
#define rindex(s, c) strrchr(s, c)
|
#define rindex(s, c) strrchr(s, c)
|
||||||
|
|
||||||
//#ifndef _WINSOCKAPI_
|
#endif
|
||||||
//struct timeval {
|
|
||||||
// long tv_sec; /* seconds */
|
|
||||||
// long tv_usec; /* and microseconds */
|
|
||||||
//};
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in a new issue