Skip to content

Commit

Permalink
Fixes for:
Browse files Browse the repository at this point in the history
- grishka#65
- grishka#68

to work with telega-server
  • Loading branch information
zevlg committed Jan 21, 2019
1 parent 564eada commit 2d87e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ AS_CASE([$host_os],
)
AM_CONDITIONAL(TARGET_OS_OSX, test "x$os_osx" == xyes)

AC_ARG_ENABLE([audio-callback], [AS_HELP_STRING([--enable-audio-callback], [enable callback-based audio I/O])], [], [enable_audio_callback=yes])
AC_ARG_ENABLE([audio-callback], [AS_HELP_STRING([--enable-audio-callback], [enable callback-based audio I/O])], [], [enable_audio_callback=no])
AM_CONDITIONAL(ENABLE_AUDIO_CALLBACK, test "x$enable_audio_callback" == xyes)

AS_IF([test "x$os_osx" != xyes && test "x$enable_audio_callback" != xyes], [ # Linux
Expand Down
2 changes: 1 addition & 1 deletion logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void tgvoip_log_file_write_header(FILE* file);

#include <stdio.h>

#define _TGVOIP_LOG_PRINT(verb, msg, ...) {printf("%c/tgvoip: " msg "\n", verb, ##__VA_ARGS__); tgvoip_log_file_printf(verb, msg, ##__VA_ARGS__);}
#define _TGVOIP_LOG_PRINT(verb, msg, ...) {fprintf(stderr, "%c/tgvoip: " msg "\n", verb, ##__VA_ARGS__); tgvoip_log_file_printf(verb, msg, ##__VA_ARGS__);}

#define LOGV(msg, ...) _TGVOIP_LOG_PRINT('V', msg, ##__VA_ARGS__)
#define LOGD(msg, ...) _TGVOIP_LOG_PRINT('D', msg, ##__VA_ARGS__)
Expand Down

0 comments on commit 2d87e50

Please sign in to comment.