mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 14:48:22 +00:00
fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10420 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
756b97c4e1
commit
5dd6b9f4e6
@ -1100,7 +1100,7 @@ static char *expand_vars(char *buf, char *ebuf, switch_size_t elen, switch_size_
|
|||||||
static int preprocess_exec(const char *cwd, const char *command, int write_fd, int rlevel)
|
static int preprocess_exec(const char *cwd, const char *command, int write_fd, int rlevel)
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
char *message[] = "<!-- exec not implemented in windows yet -->";
|
char message[] = "<!-- exec not implemented in windows yet -->";
|
||||||
|
|
||||||
if (write(write_fd, message, sizeof(message)) < 0) {
|
if (write(write_fd, message, sizeof(message)) < 0) {
|
||||||
goto end;
|
goto end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user