projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00a512e
)
Update workding on why we use is_absolute_path() as a macro.
author
Bruce Momjian
<bruce@momjian.us>
Mon, 8 Nov 2004 16:34:23 +0000
(16:34 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Mon, 8 Nov 2004 16:34:23 +0000
(16:34 +0000)
src/include/port.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/port.h
b/src/include/port.h
index 7d307d08add0fd5fc85f129dc014c6e9ef5c3200..5c1e2284fafd6ce727d4d9f85af2516de45a5d7c 100644
(file)
--- a/
src/include/port.h
+++ b/
src/include/port.h
@@
-47,9
+47,8
@@
extern void get_parent_directory(char *path);
/*
* is_absolute_path
*
- * This capability is needed by libpq and initdb.c
- * On Win32, you can't reference the same object file that is
- * in two different libraries (pgport and libpq), so a macro is best.
+ * By making this a macro we prevent the need for libpq to include
+ * path.c which uses exec.c.
*/
#ifndef WIN32
#define is_absolute_path(filename) \