[Freeswitch-svn] [commit] r10799 - freeswitch/trunk/src/mod/applications/mod_expr
FreeSWITCH SVN
mikej at freeswitch.org
Tue Dec 16 08:59:27 PST 2008
Author: mikej
Date: Tue Dec 16 11:59:27 2008
New Revision: 10799
Log:
tweak for solaris
Modified:
freeswitch/trunk/src/mod/applications/mod_expr/exprpars.c
freeswitch/trunk/src/mod/applications/mod_expr/exprpriv.h
freeswitch/trunk/src/mod/applications/mod_expr/exprutil.c
Modified: freeswitch/trunk/src/mod/applications/mod_expr/exprpars.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_expr/exprpars.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_expr/exprpars.c Tue Dec 16 11:59:27 2008
@@ -12,7 +12,6 @@
#include "exprpriv.h"
#include "exprmem.h"
-#include "switch_utils.h"
/* Data structure used by parser */
typedef struct _exprToken {
Modified: freeswitch/trunk/src/mod/applications/mod_expr/exprpriv.h
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_expr/exprpriv.h (original)
+++ freeswitch/trunk/src/mod/applications/mod_expr/exprpriv.h Tue Dec 16 11:59:27 2008
@@ -206,6 +206,16 @@
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
}
Modified: freeswitch/trunk/src/mod/applications/mod_expr/exprutil.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_expr/exprutil.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_expr/exprutil.c Tue Dec 16 11:59:27 2008
@@ -11,8 +11,6 @@
#include "exprincl.h"
#include "exprpriv.h"
-#include "switch_utils.h"
-
/* Return the version number */
void exprGetVersion(int *major, int *minor)
More information about the Freeswitch-svn
mailing list