From 09b7cde5e6ccda4720d3be9de8c33a4ef3502ec3 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Wed, 5 Jul 2006 18:33:26 +0000 Subject: [PATCH] Remove undef strlcpy to eliminate switch/elan build warning --- src/common/strlcpy.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/strlcpy.h b/src/common/strlcpy.h index 5ed872b96a5..fe01a87d14a 100644 --- a/src/common/strlcpy.h +++ b/src/common/strlcpy.h @@ -1,10 +1,9 @@ #ifndef _STRLCPY_H #define _STRLCPY_H -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include "config.h" -# if (!HAVE_STRLCPY) -# undef strlcpy +# ifndef HAVE_STRLCPY # include <sys/types.h> -- GitLab