mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
oops, use #ifdef instead of #if
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -49,7 +49,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include <iksemel.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#if HAVE_GNUTLS
|
||||
#ifdef HAVE_GNUTLS
|
||||
#include <gcrypt.h>
|
||||
GCRY_THREAD_OPTION_PTHREAD_IMPL;
|
||||
#endif /* HAVE_GNUTLS */
|
||||
@@ -1811,7 +1811,7 @@ static int gtalk_load_config(void)
|
||||
/*! \brief Load module into PBX, register channel */
|
||||
static int load_module(void)
|
||||
{
|
||||
#if HAVE_GNUTLS
|
||||
#ifdef HAVE_GNUTLS
|
||||
gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
|
||||
#endif /* HAVE_GNUTLS */
|
||||
|
||||
|
Reference in New Issue
Block a user