File tree 7 files changed +2
-27
lines changed
7 files changed +2
-27
lines changed Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $Id: libpq-fs.h,v 1.9 2000/01/26 05:58:12 momjian Exp $
10
+ * $Id: libpq-fs.h,v 1.10 2000/10/28 22:53:15 petere Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -28,18 +28,6 @@ struct pgdirent
28
28
char d_name [MAXNAMLEN + 1 ];
29
29
};
30
30
31
- /*
32
- * SysV struct dirent doesn't have d_namlen.
33
- * This counts on d_name being last, which is moderately safe (ha) since
34
- * it's the variable-length part of the structure.
35
- */
36
- #ifdef SYSV_DIRENT
37
- #define D_NAMLEN (dp ) \
38
- ((dp)->d_reclen - offsetof(struct dirent, d_name[0]))
39
- #else /* SYSV_DIRENT */
40
- #define D_NAMLEN (dp ) \
41
- ((dp)->d_namlen)
42
- #endif /* SYSV_DIRENT */
43
31
44
32
/* for stat(2) */
45
33
#ifndef S_IRUSR
Original file line number Diff line number Diff line change 1
1
#define USE_POSIX_TIME
2
- #define NO_EMPTY_STMTS
3
- #define SYSV_DIRENT
4
2
#define HAS_TEST_AND_SET
5
3
typedef unsigned long slock_t ;
Original file line number Diff line number Diff line change 5
5
#define DISABLE_COMPLEX_MACRO
6
6
7
7
#define USE_POSIX_TIME
8
- #define NO_EMPTY_STMTS
9
- #define SYSV_DIRENT
10
8
11
9
#define HAS_TEST_AND_SET
12
10
#define NEED_I386_TAS_ASM
15
13
16
14
typedef unsigned char slock_t ;
17
15
18
- #define DISABLE_COMPLEX_MACRO
19
-
20
16
/***************************************************************
21
17
* The following include will get the needed prototype for the
22
18
* strcasecmp() function.
Original file line number Diff line number Diff line change 1
- /* $Header: /cvsroot/pgsql/src/include/port/solaris.h,v 1.1 2000/10/10 21: 22:26 petere Exp $ */
1
+ /* $Header: /cvsroot/pgsql/src/include/port/solaris.h,v 1.2 2000/10/28 22:53:17 petere Exp $ */
2
2
3
3
#define USE_POSIX_TIME
4
- #define NO_EMPTY_STMTS
5
- #define SYSV_DIRENT
6
4
#define HAS_TEST_AND_SET
7
5
typedef unsigned char slock_t ;
8
6
Original file line number Diff line number Diff line change 1
1
#define USE_POSIX_TIME
2
- #define NO_EMPTY_STMTS
3
- #define SYSV_DIRENT
4
2
5
3
#ifndef BYTE_ORDER
6
4
#ifdef MIPSEB
Original file line number Diff line number Diff line change 1
1
#define USE_POSIX_TIME
2
- #define NO_EMPTY_STMTS
3
- #define SYSV_DIRENT
4
2
5
3
#define HAS_TEST_AND_SET
6
4
#define NEED_I386_TAS_ASM
Original file line number Diff line number Diff line change 1
1
#define USE_POSIX_TIME
2
- #define SYSV_DIRENT
3
2
4
3
#define HAS_TEST_AND_SET
5
4
#define NEED_I386_TAS_ASM
You can’t perform that action at this time.
0 commit comments