From: <jpg...@us...> - 2008-04-04 21:37:03
|
Revision: 1395 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1395&view=rev Author: jpgrayson Date: 2008-04-04 14:37:07 -0700 (Fri, 04 Apr 2008) Log Message: ----------- Fix to always define iaxc_version(). When LIBVER is not defined, just return an empty string. Modified Paths: -------------- trunk/lib/iaxclient_lib.c Modified: trunk/lib/iaxclient_lib.c =================================================================== --- trunk/lib/iaxclient_lib.c 2008-04-04 21:36:17 UTC (rev 1394) +++ trunk/lib/iaxclient_lib.c 2008-04-04 21:37:07 UTC (rev 1395) @@ -1910,13 +1910,14 @@ return audio_driver.mic_boost_set( &audio_driver, enable ) ; } -#ifdef LIBVER EXPORT char* iaxc_version(char * ver) { +#ifndef LIBVER +#define LIBVER "" +#endif strncpy(ver, LIBVER, IAXC_EVENT_BUFSIZ); return ver; } -#endif EXPORT unsigned int iaxc_get_audio_prefs(void) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |