Touches..

This commit is contained in:
David Anderson
2004-02-07 21:23:24 +00:00
parent b773a2784c
commit 8f68eb9457
2 changed files with 99 additions and 1 deletions

View File

@ -1,4 +1,11 @@
#define VERSION "0.73"
#ifdef __linux__
#include <malloc.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#include <sched.h>
#endif
#define VERSION "0.74"
plugin_info_t Plugin_info = {
@ -85,6 +92,10 @@ void (*function)(void*);
void (*endfunction)(void*);
#ifdef __linux__
int thread_fork(void *arg);
#endif
#define AMS_OFFSET 0.01
#define SPEAK_NORMAL 0
@ -886,3 +897,13 @@ struct MsgSets
MessageInfo *msg;
AmxCallList msgCalls;
};
#ifdef __linux__
int thread_fork(void *arg)
{
char *szCmd;
szCmd = (char*)arg;
system(szCmd);
return 0;
}
#endif