1 /**************************************************************************** 2 * 3 * Copyright (C) 2014-2021 Cisco and/or its affiliates. All rights reserved. 4 * Copyright (C) 2005-2013 Sourcefire, Inc. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License Version 2 as 8 * published by the Free Software Foundation. You may not use, modify or 9 * distribute this program under any other version of the GNU General 10 * Public License. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 ****************************************************************************/ 22 #ifndef SFSNORT_DYNAMIC_DETECTION_LIB_H_ 23 #define SFSNORT_DYNAMIC_DETECTION_LIB_H_ 24 25 #ifdef WIN32 26 #ifdef SF_SNORT_DETECTION_DLL 27 #define BUILDING_SO 28 #define DETECTION_LINKAGE SF_SO_PUBLIC 29 #else 30 #define DETECTION_LINKAGE 31 #endif 32 #else /* WIN32 */ 33 #define DETECTION_LINKAGE SF_SO_PUBLIC 34 #endif 35 36 #endif /* SFSNORT_DYNAMIC_DETECTION_LIB_H_ */ 37 38