00001 /*========================================================================= 00002 00003 Program: Open ITK Link Library 00004 Module: $HeadURL: http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlutil/igtl_win32header.h $ 00005 Language: C 00006 Date: $Date: 2008-12-22 19:05:42 -0500 (Mon, 22 Dec 2008) $ 00007 Version: $Revision: 3460 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notices for more information. 00014 00015 =========================================================================*/ 00016 00017 #ifndef __IGTL_WIN32HEADER_H 00018 #define __IGTL_WIN32HEADER_H 00019 00020 #include "igtl_typeconfig.h" 00021 00022 #if (defined(_WIN32) || defined(WIN32)) && !defined(IGTLSTATIC) 00023 # ifdef IGTLCommon_EXPORTS 00024 # define igtl_export __declspec(dllexport) 00025 # else 00026 # define igtl_export __declspec(dllimport) 00027 # endif /* igtl_common_exports */ 00028 #else 00029 /* unix needs nothing */ 00030 #define igtl_export 00031 #endif 00032 00033 00034 #endif /*__IGTL_WIN32HEADER_H*/ 00035