~ubuntu-branches/ubuntu/wily/exiv2/wily-proposed

« back to all changes in this revision

Viewing changes to src/exv_msvc.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-04-29 21:53:40 UTC
  • mfrom: (1.1.9 upstream) (11.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090429215340-07gk8utx2w8rh0bo
* New upstream release
  - (Closes: #525535): "[libexiv2-5] New upstream version 0.18.1"
  - write-support for Adobe Photoshop PSD images
  - read-support for Panasonic RW2 images
  - Panasonic and Nikon makernote update
* Upload to unstable - discussed on debian-release
  - libexiv2-5 library transition
* Fix: package-lacks-versioned-build-depends-on-debhelper
* Add ${misc:Depends}

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ***************************************************************** -*- C -*- */
2
 
/*!
3
 
  @file    exv_msvc.h
4
 
  @brief   Configuration settings for MSVC
5
 
  @version $Rev: 1703 $
6
 
  @author  Andreas Huggel (ahu)
7
 
           <a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
8
 
  @date    07-Feb-04, ahu: created
9
 
           26-Feb-05, ahu: renamed and moved to src directory
10
 
 */
11
 
 
12
 
/* Todo: The PACKAGE_* defines should be generated */
13
 
 
14
 
#ifdef _MSC_VER
15
 
 
16
 
/* Define to 1 if you have the <process.h> header file. */
17
 
#define EXV_HAVE_PROCESS_H 1
18
 
 
19
 
/* Define to the address where bug reports for this package should be sent. */
20
 
#define EXV_PACKAGE_BUGREPORT "ahuggel@gmx.net"
21
 
 
22
 
/* Define to the full name of this package. */
23
 
#define EXV_PACKAGE_NAME "exiv2"
24
 
 
25
 
/* Define to the full name and version of this package. */
26
 
#define EXV_PACKAGE_STRING "exiv2 0.18"
27
 
 
28
 
/* Define to the one symbol short name of this package. */
29
 
#define EXV_PACKAGE_TARNAME "exiv2"
30
 
 
31
 
/* Define to the version of this package. */
32
 
#define EXV_PACKAGE_VERSION "0.18"
33
 
 
34
 
/* Define to `int' if <sys/types.h> does not define pid_t. */
35
 
typedef int pid_t;
36
 
 
37
 
#ifndef EXV_COMMERCIAL_VERSION
38
 
 
39
 
/* Define to 1 to enable translation of Exif.Nikon3.LensData. */
40
 
# define EXV_HAVE_LENSDATA 1
41
 
 
42
 
/* Define to 1 if translation of program messages to the user's
43
 
   native language is requested. */
44
 
# undef EXV_ENABLE_NLS
45
 
 
46
 
/* Define to 1 if you have the `iconv' function. */
47
 
# undef EXV_HAVE_ICONV
48
 
 
49
 
/* Define to 1 to enable conversion of UCS2 encoded Windows tags to UTF-8. */
50
 
# undef EXV_HAVE_PRINTUCS2
51
 
 
52
 
#endif /* !EXV_COMMERCIAL_VERSION */
53
 
 
54
 
/* Define as 1 if you have the `zlib' library. (0 to omit zlib) [png support] */
55
 
#define HAVE_LIBZ 1
56
 
 
57
 
#if HAVE_LIBZ
58
 
  #define EXV_HAVE_LIBZ
59
 
  #if     EXV_HAVE_DLL
60
 
    #ifdef   _DEBUG
61
 
      #pragma comment(lib,"../../../zlib-1.2.3/projects/visualc6/Win32_DLL_Debug/zlib1d.lib")
62
 
    #else
63
 
      #pragma comment(lib,"../../../zlib-1.2.3/projects/visualc6/Win32_DLL_Release/zlib1.lib")
64
 
    #endif
65
 
  #else
66
 
    #ifdef   _DEBUG
67
 
      #pragma comment(lib,"../../../zlib-1.2.3/projects/visualc6/Win32_LIB_Debug/zlibd.lib")
68
 
    #else
69
 
      #pragma comment(lib,"../../../zlib-1.2.3/projects/visualc6/Win32_LIB_Release/zlib.lib")
70
 
    #endif
71
 
  #endif
72
 
  #define EXV_HAVE_LIBZ
73
 
  // assist VC7.1 to compile vsnprintf
74
 
  #if (_MSC_VER < 1400) && !defined(vsnprintf)
75
 
  #define vsnprintf _vsnprintf
76
 
  #endif
77
 
#endif
78
 
 
79
 
/* Define to 1 if you have the Adobe XMP Toolkit. */
80
 
#define EXV_HAVE_XMP_TOOLKIT 1
81
 
 
82
 
/* File path seperator */
83
 
#define EXV_SEPERATOR_STR "\\"
84
 
#define EXV_SEPERATOR_CHR '\\'
85
 
 
86
 
 
87
 
/* Shared library support */
88
 
#ifdef  EXV_HAVE_DLL
89
 
#define EXV_IMPORT __declspec(dllimport)
90
 
#define EXV_EXPORT __declspec(dllexport)
91
 
#define EXV_DLLLOCAL
92
 
#define EXV_DLLPUBLIC
93
 
#else
94
 
#define EXV_IMPORT
95
 
#define EXV_EXPORT
96
 
#define EXV_DLLLOCAL
97
 
#define EXV_DLLPUBLIC
98
 
#define EXIV2API
99
 
#endif
100
 
 
101
 
/* Define EXIV2API for DLL builds */
102
 
#ifdef   EXV_HAVE_DLL
103
 
#  ifdef EXV_BUILDING_LIB
104
 
#    define EXIV2API EXV_EXPORT
105
 
#  else
106
 
#    define EXIV2API EXV_IMPORT
107
 
#  endif /* ! EXV_BUILDING_LIB */
108
 
#else
109
 
#  define EXIV2API
110
 
#endif /* ! EXV_HAVE_DLL */
111
 
 
112
 
 
113
 
/*
114
 
  Disable warning 4251.  This is warning from std templates about exporting interfaces
115
 
*/
116
 
#ifdef  EXV_HAVE_DLL
117
 
#pragma warning( disable : 4251 )
118
 
#endif
119
 
/*
120
 
  Visual Studio C++ 2005 (8.0)
121
 
  Disable warnings about 'deprecated' standard functions
122
 
  See, eg. http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=259
123
 
*/
124
 
#if _MSC_VER >= 1400
125
 
# pragma warning(disable : 4996)
126
 
#endif
127
 
 
128
 
#endif /* _MSC_VER */