1/* 2 * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application 3 * Copyright (C) 2005/2012, Anthony Minessale II <anthm@freeswitch.org> 4 * 5 * Version: MPL 1.1 6 * 7 * The contents of this file are subject to the Mozilla Public License Version 8 * 1.1 (the "License"); you may not use this file except in compliance with 9 * the License. You may obtain a copy of the License at 10 * http://www.mozilla.org/MPL/ 11 * 12 * Software distributed under the License is distributed on an "AS IS" basis, 13 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 14 * for the specific language governing rights and limitations under the 15 * License. 16 * 17 * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application 18 * 19 * The Initial Developer of the Original Code is 20 * Anthony Minessale II <anthm@freeswitch.org> 21 * Portions created by the Initial Developer are Copyright (C) 22 * the Initial Developer. All Rights Reserved. 23 * 24 * Contributor(s): 25 * 26 * Anthony Minessale II <anthm@freeswitch.org> 27 * Michael Jerris <mike@jerris.com> 28 * 29 * switch_version.h -- Version Number Header 30 * 31 */ 32 33#ifndef SWITCH_VERSION_H 34#define SWITCH_VERSION_H 35 36#ifdef __cplusplus 37extern "C" { 38#endif 39 40#if UINTPTR_MAX == 0xffffffffffffffff || defined(_WIN64) 41#define _fs__bits "64bit" 42#else 43#define _fs__bits "32bit" 44#endif 45 46#define SWITCH_VERSION_MAJOR "@SWITCH_VERSION_MAJOR@" 47#define SWITCH_VERSION_MINOR "@SWITCH_VERSION_MINOR@" 48#define SWITCH_VERSION_MICRO "@SWITCH_VERSION_MICRO@" 49#define SWITCH_VERSION_REVISION "@SWITCH_VERSION_REVISION@" "~" _fs__bits 50#define SWITCH_VERSION_REVISION_HUMAN "@SWITCH_VERSION_REVISION_HUMAN@" " " _fs__bits 51#define SWITCH_VERSION_FULL SWITCH_VERSION_MAJOR "." SWITCH_VERSION_MINOR "." SWITCH_VERSION_MICRO SWITCH_VERSION_REVISION 52#define SWITCH_VERSION_FULL_HUMAN SWITCH_VERSION_MAJOR "." SWITCH_VERSION_MINOR "." SWITCH_VERSION_MICRO " " SWITCH_VERSION_REVISION_HUMAN 53 54#ifdef __cplusplus 55} 56#endif 57 58#endif 59