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: OpenIGTLink Library
4  Module: $HeadURL: http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlutil/igtl_win32header.h $
5  Language: C
6  Date: $Date: 2010-01-17 13:38:05 -0500 (Sun, 17 Jan 2010) $
7  Version: $Revision: 5577 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10 
11  This software is distributed WITHOUT ANY WARRANTY; without even
12  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the above copyright notices for more information.
14 
15 =========================================================================*/
16 
17 #ifndef __IGTL_WIN32HEADER_H
18 #define __IGTL_WIN32HEADER_H
19 
20 #include "igtl_typeconfig.h"
21 
22 #if (defined(_WIN32) || defined(WIN32)) && !defined(IGTLSTATIC)
23 # ifdef IGTLCommon_EXPORTS
24 # define igtl_export __declspec(dllexport)
25 # else
26 # define igtl_export __declspec(dllimport)
27 # endif /* igtl_common_exports */
28 #else
29 /* unix needs nothing */
30 #define igtl_export
31 #endif
32 
33 #if defined(_WIN32)
34 # include <windows.h>
35 #endif
36 
37 #if defined(_MSC_VER)
38  // Enable MSVC compiler warning messages that are useful but off by default.
39 # pragma warning ( disable : 4996 ) /* 'strncpy': This function or variable may be unsafe. */
40 #endif
41 
42 
43 #endif /*__IGTL_WIN32HEADER_H*/
44 

Generated at Thu Mar 20 2014 16:32:06 for OpenIGTLink by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2000