add windows build for mod_xml_cdr. This probably also fixes the build on several non-linux systems.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4309 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-02-17 06:55:43 +00:00
parent 7b4e100b31
commit 4ae10379f2
4 changed files with 27 additions and 11 deletions
+6
View File
@@ -146,6 +146,12 @@ typedef unsigned long in_addr_t;
#define SWITCH_MOD_DECLARE(type) __declspec(dllimport) type __cdecl
#endif
#define SIGHUP SIGTERM
#ifndef S_IRUSR
#define S_IRUSR _S_IREAD
#endif
#ifndef S_IWUSR
#define S_IWUSR _S_IWRITE
#endif
#else //not win32
#define SWITCH_DECLARE(type) type
#define SWITCH_DECLARE_NONSTD(type) type