Snort_AIPreproc/include/sfsnort_dynamic_detection_lib.h

16 lines
346 B
C
Raw Normal View History

2010-09-05 15:27:35 +02:00
#ifndef SFSNORT_DYNAMIC_DETECTION_LIB_H_
#define SFSNORT_DYNAMIC_DETECTION_LIB_H_
#ifdef WIN32
#ifdef SF_SNORT_DETECTION_DLL
#define DETECTION_LINKAGE __declspec(dllexport)
#else
#define DETECTION_LINKAGE __declspec(dllimport)
#endif
#else /* WIN32 */
#define DETECTION_LINKAGE
#endif /* WIN32 */
#endif /* SFSNORT_DYNAMIC_DETECTION_LIB_H_ */