Oops, add proper #ifdef for systems without support for syslog.
authorMagnus Hagander
Thu, 3 Apr 2008 13:25:02 +0000 (13:25 +0000)
committerMagnus Hagander
Thu, 3 Apr 2008 13:25:02 +0000 (13:25 +0000)
Per buildfarm member mastodon.

src/backend/utils/misc/guc.c

index 77dc6308cce09b39dea1dc039e6f22954b1b8bfe..04934abd306baffc5521e45c40cd808039262117 100644 (file)
@@ -10,7 +10,7 @@
  * Written by Peter Eisentraut .
  *
  * IDENTIFICATION
- *   $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.442 2008/04/03 09:21:15 mha Exp $
+ *   $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.443 2008/04/03 13:25:02 mha Exp $
  *
  *--------------------------------------------------------------------
  */
@@ -229,6 +229,7 @@ static const struct config_enum_entry session_replication_role_options[] = {
    {NULL, 0}
 };
 
+#ifdef HAVE_SYSLOG
 static const struct config_enum_entry syslog_facility_options[] = {
    {"local0", LOG_LOCAL0},
    {"local1", LOG_LOCAL1},
@@ -240,6 +241,7 @@ static const struct config_enum_entry syslog_facility_options[] = {
    {"local7", LOG_LOCAL7},
    {NULL, 0}
 };
+#endif
 
 
 /*