From: brarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Date: Thu, 2 Jan 2014 02:43:17 +0000 (+0000)
Subject: cmake: do not check HAVE__SNPRINTF
X-Git-Tag: 0.10.0~213
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c831b7ef9004d8cb2a2b605903c759088147ddd;p=check

cmake: do not check HAVE__SNPRINTF

This did not hurt anything, but was missed earlier

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1003 64e312b2-a51f-0410-8e61-82d0ca0eb02a
---

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 8b99f24..547c4f2 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -44,7 +44,7 @@ if(NOT HAVE_REALLOC)
   set(SOURCES ${SOURCES} realloc.c)
 endif(NOT HAVE_REALLOC)
 
-if(NOT HAVE_SNPRINTF AND NOT HAVE__SNPRINTF)
+if(NOT HAVE_SNPRINTF)
     set(SOURCES ${SOURCES} snprintf.c)
     add_definitions(-Dsnprintf=rpl_snprintf)
     set(snprintf rpl_snprintf)
@@ -56,7 +56,7 @@ if(NOT HAVE_SNPRINTF AND NOT HAVE__SNPRINTF)
     set(asprintf rpl_asprintf)
     add_definitions(-Dvasprintf=rpl_vasprintf)
     set(vasprintf rpl_vasprintf)
-endif(NOT HAVE_SNPRINTF AND NOT HAVE__SNPRINTF)
+endif(NOT HAVE_SNPRINTF)
 
 if(NOT HAVE_DECL_STRDUP AND NOT HAVE__STRDUP)
   set(SOURCES ${SOURCES} strdup.c)