od_utl_exports.h

来自「Diameter协议栈」· C头文件 代码 · 共 59 行

H
59
字号
/* BEGIN_COPYRIGHT                                                        *//*                                                                        *//* Open Diameter: Open-source software for the Diameter and               *//*                Diameter related protocols                              *//*                                                                        *//* Copyright (C) 2002-2004 Open Diameter Project                          *//*                                                                        *//* This library is free software; you can redistribute it and/or modify   *//* it under the terms of the GNU Lesser General Public License as         *//* published by the Free Software Foundation; either version 2.1 of the   *//* License, or (at your option) any later version.                        *//*                                                                        *//* This library is distributed in the hope that it will be useful,        *//* but WITHOUT ANY WARRANTY; without even the implied warranty of         *//* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU      *//* Lesser General Public License for more details.                        *//*                                                                        *//* You should have received a copy of the GNU Lesser General Public       *//* License along with this library; if not, write to the Free Software    *//* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307    *//* USA.                                                                   *//*                                                                        *//* In addition, when you copy and redistribute some or the entire part of *//* the source code of this software with or without modification, you     *//* MUST include this copyright notice in each copy.                       *//*                                                                        *//* If you make any changes that are appeared to be useful, please send    *//* sources that include the changed part to                               *//* diameter-developers@lists.sourceforge.net so that we can reflect your  *//* changes to one unified version of this software.                       *//*                                                                        *//* END_COPYRIGHT                                                          */#ifndef __OD_UTL_EXPORTS_H__#define __OD_UTL_EXPORTS_H__#include "ace/OS.h"#if defined (WIN32)#  if defined (OD_UTL_EXPORTS)#    define OD_UTL_EXPORT ACE_Proper_Export_Flag#    define OD_UTL_EXPORT_ONLY ACE_Proper_Export_Flag#    define OD_UTL_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)#    define OD_UTL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)#  else#    define OD_UTL_EXPORT ACE_Proper_Import_Flag#    define OD_UTL_EXPORT_ONLY#    define OD_UTL_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)#    define OD_UTL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)#  endif   /* ! OD_UTL_EXPORTS */#else#  define OD_UTL_EXPORT#  define OD_UTL_EXPORT_ONLY#  define OD_UTL_SINGLETON_DECLARATION(T)#  define OD_UTL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)#endif     /* WIN32 */#endif // __OD_UTL_EXPORTS_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?