Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 46606ab

Browse files
committed
Document some more #ifdef's
1 parent 94e8251 commit 46606ab

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

src/include/config.h

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
#define BLCKSZ 8192
1010

11+
/* Found in catalog/catalog.c, but doesn't seem to do anything in there */
12+
#ifndef MAXPATHLEN
13+
#define MAXPATHLEN 80
14+
#endif
15+
1116
#if defined(sequent)
1217
# define NEED_UNION_SEMUN
1318
#endif
@@ -32,6 +37,9 @@
3237
#endif
3338

3439
#if defined(linux)
40+
# ifndef __USE_POSIX
41+
# define __USE_POSIX
42+
# endif
3543
# define NEED_CBRT
3644
#endif
3745

@@ -75,8 +83,12 @@
7583
# define NEED_UNION_SEMUN
7684
#endif
7785

86+
#if defined(next)
87+
# define NEED_SIG_JMP
88+
#endif
89+
7890
#if defined(win32)
79-
# define WIN32
91+
# define NEED_SIG_JMP
8092
# define NO_UNISTD_H
8193
# define USES_WINSOCK
8294
# define NOFILE 100
@@ -228,16 +240,22 @@
228240
/* #define FASTBUILD_DEBUG /* access/nbtree/nbtsort.c */
229241
#define RTDEBUG /* access/rtree/rtree.c */
230242
#define GISTDEBUG /* access/gist/gist.c */
243+
/* #define PURGEDEBUG /* commands/purge.c */
244+
/* #define DEBUG_RECIPE /* commands/recipe.c */
231245

232246

233247
/* The following don't have any apparent purpose, but are in the
234248
* code. someday, will take them out altogether, but for now,
235249
* document them here
236250
*/
237251
/* #define OMIT_PARTIAL_INDEX /* access/hash/hash.c */
238-
/* #define PERFECT_MMGR /* access/hash/hash.c */
239-
/* #define PERFECT_MEM /* access/hash/hashscan.c */
240-
/* #define NO_BUFFERISVALID /* access/heap/heapam.c */
252+
/* #define PERFECT_MMGR /* access/hash/hash.c */
253+
/* #define PERFECT_MEM /* access/hash/hashscan.c */
254+
/* #define NO_BUFFERISVALID /* access/heap/heapam.c */
255+
/* #define NO_SECURITY /* commands/cluster.c */
256+
/* #define TIOGA /* commands/recipe.c */
257+
/* #define OLD_REWRITE /* commands/version.c */
258+
/* #define NOTYET /* commands/view.c */
241259

242260

243261
/* Undocumented "features"? */

0 commit comments

Comments
 (0)