Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  
igtl_win32header.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: The OpenIGTLink Library
4 Language: C
5 Web page: http://openigtlink.org/
6
7 Copyright (c) Insight Software Consortium. All rights reserved.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notices for more information.
12
13=========================================================================*/
14
15#ifndef __IGTL_WIN32HEADER_H
16#define __IGTL_WIN32HEADER_H
17
18#include "igtl_typeconfig.h"
19
20#if (defined(_WIN32) || defined(WIN32)) && !defined(IGTLSTATIC)
21# ifdef IGTLCommon_EXPORTS
22# define igtl_export __declspec(dllexport)
23# else
24# define igtl_export __declspec(dllimport)
25# endif /* igtl_common_exports */
26#else
27/* unix needs nothing */
28#define igtl_export
29#endif
30
31#if defined(_WIN32)
32# include <windows.h>
33#endif
34
35#if defined(_MSC_VER)
36 /* Enable MSVC compiler warning messages that are useful but off by default.*/
37# pragma warning ( disable : 4996 ) /* 'strncpy': This function or variable may be unsafe. */
38#endif
39
40
41#endif /*__IGTL_WIN32HEADER_H*/

Generated for OpenIGTLink by Doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2012