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

src/backend/utils/misc/guc.c

index b9504015e4497addc67e38859339ddc49a1ed177..cb545e689631e4a56ba53572ab317c9c825ce98a 100644 (file)
@@ -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
 
 
 /*