diff --git a/src/include/switch_apr.h b/src/include/switch_apr.h index c8eb89174a..f585c0d764 100644 --- a/src/include/switch_apr.h +++ b/src/include/switch_apr.h @@ -131,8 +131,6 @@ typedef apr_file_t switch_file_t; #define SWITCH_FOPEN_NOCLEANUP APR_FOPEN_NOCLEANUP /**< Do not register a cleanup when the file is opened */ #define SWITCH_FOPEN_SENDFILE_ENABLED APR_FOPEN_SENDFILE_ENABLED /**< Advisory flag that this file should support apr_socket_sendfile operation */ #define SWITCH_FOPEN_LARGEFILE APR_FOPEN_LAREFILE /**< Platform dependent flag to enable large file support */ - -#define SWITCH_READ APR_READ /**< @deprecated @see SWITCH_FOPEN_READ */ /** @} */ /** diff --git a/src/include/switch_version.h b/src/include/switch_version.h new file mode 100644 index 0000000000..7e4fb85829 --- /dev/null +++ b/src/include/switch_version.h @@ -0,0 +1,50 @@ +/* + * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application + * Copyright (C) 2005/2006, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application + * + * The Initial Developer of the Original Code is + * Anthony Minessale II + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * Michael Jerris + * + * switch_version.h -- Version Number Header + * + */ + +#ifndef SWITCH_VERSION_H +#define SWITCH_VERSION_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define FREESWITCH_VERSION_MAJOR 1 +#define FREESWITCH_VERSION_MINOR 0 +#define FREESWITCH_VERSION_REVISION 288M +#define FREESWITCH_VERSION_FULL FREESWITCH_VERSION_MAJOR.FREESWITCH_VERSION_MINOR.FREESWITCH_VERSION_REVISION + +#ifdef __cplusplus +} +#endif + +#endif + diff --git a/src/include/switch_version.h.in b/src/include/switch_version.h.in new file mode 100644 index 0000000000..ff7e3b49c1 --- /dev/null +++ b/src/include/switch_version.h.in @@ -0,0 +1,49 @@ +/* + * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application + * Copyright (C) 2005/2006, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application + * + * The Initial Developer of the Original Code is + * Anthony Minessale II + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * Michael Jerris + * + * switch_version.h -- Version Number Header + * + */ + +#ifndef SWITCH_VERSION_H +#define SWITCH_VERSION_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define FREESWITCH_VERSION_MAJOR 1 +#define FREESWITCH_VERSION_MINOR 0 +#define FREESWITCH_VERSION_REVISION +#define FREESWITCH_VERSION_FULL FREESWITCH_VERSION_MAJOR.FREESWITCH_VERSION_MINOR.FREESWITCH_VERSION_REVISION + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/w32/vsnet/FreeSwitchCore.vcproj b/w32/vsnet/FreeSwitchCore.vcproj index 144f897972..b01748eb10 100644 --- a/w32/vsnet/FreeSwitchCore.vcproj +++ b/w32/vsnet/FreeSwitchCore.vcproj @@ -315,6 +315,10 @@ RelativePath="..\..\src\include\switch_utils.h" > + +