tweak for solaris

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10799 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-12-16 16:59:27 +00:00
parent e5b51e3712
commit f73250c6d1
3 changed files with 10 additions and 3 deletions

View File

@ -12,7 +12,6 @@
#include "exprpriv.h"
#include "exprmem.h"
#include "switch_utils.h"
/* Data structure used by parser */
typedef struct _exprToken {

View File

@ -206,6 +206,16 @@ struct _exprNode
int exprFuncListAddType(exprFuncList *flist, char *name, int type, int min, int max, int refmin, int refmax);
int exprFuncListGet(exprFuncList *flist, char *name, exprFuncType *ptr, int *type, int *min, int *max, int *refmin, int *refmax);
#ifdef WIN32
#define SWITCH_DECLARE(type) __declspec(dllimport) type __stdcall
#else
#define SWITCH_DECLARE(type) type
#endif
SWITCH_DECLARE(int) switch_isalnum(int c);
SWITCH_DECLARE(int) switch_isalpha(int c);
SWITCH_DECLARE(int) switch_isdigit(int c);
SWITCH_DECLARE(int) switch_isspace(int c);
#ifdef __cplusplus
}

View File

@ -11,8 +11,6 @@
#include "exprincl.h"
#include "exprpriv.h"
#include "switch_utils.h"
/* Return the version number */
void exprGetVersion(int *major, int *minor)