aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/misc.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-12-19 02:09:10 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-12-19 02:09:10 +0000
commit5379b84eff3ae207635d7ac9527b0a3f5eb272e7 (patch)
tree84d6a71200ffe5edf43596bc2fbf3276737e086a /src/backend/utils/adt/misc.c
parent30856a390457682db4f8577e9f5a7f8521839c6f (diff)
downloadpostgresql-5379b84eff3ae207635d7ac9527b0a3f5eb272e7.tar.gz
postgresql-5379b84eff3ae207635d7ac9527b0a3f5eb272e7.zip
More cleanups. I can now compile without PORTNAME being defined n
Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :)
Diffstat (limited to 'src/backend/utils/adt/misc.c')
-rw-r--r--src/backend/utils/adt/misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/utils/adt/misc.c b/src/backend/utils/adt/misc.c
index 06bc79374f9..d652b048999 100644
--- a/src/backend/utils/adt/misc.c
+++ b/src/backend/utils/adt/misc.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.10 1997/09/08 21:48:31 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.11 1997/12/19 02:07:59 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,7 +18,9 @@
#include "catalog/pg_type.h"
#include "utils/builtins.h"
-#include "port-protos.h" /* For random(), sometimes */
+#ifndef HAVE_RANDOM
+# include "port-protos.h" /* For random(), sometimes */
+#endif
/*-------------------------------------------------------------------------