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

« back to all changes in this revision

Viewing changes to msvc/include/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: 1778 $
 
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.1"
 
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.1"
 
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
  // assist VC7.1 to compile vsnprintf
 
60
  #if (_MSC_VER < 1400) && !defined(vsnprintf)
 
61
  #define vsnprintf _vsnprintf
 
62
  #endif
 
63
#endif
 
64
 
 
65
/* Define to 1 if you have the Adobe XMP Toolkit. */
 
66
#define EXV_HAVE_XMP_TOOLKIT 1
 
67
 
 
68
/* File path seperator */
 
69
#define EXV_SEPERATOR_STR "\\"
 
70
#define EXV_SEPERATOR_CHR '\\'
 
71
 
 
72
 
 
73
/* Shared library support */
 
74
#ifdef  EXV_HAVE_DLL
 
75
#define EXV_IMPORT __declspec(dllimport)
 
76
#define EXV_EXPORT __declspec(dllexport)
 
77
#define EXV_DLLLOCAL
 
78
#define EXV_DLLPUBLIC
 
79
#else
 
80
#define EXV_IMPORT
 
81
#define EXV_EXPORT
 
82
#define EXV_DLLLOCAL
 
83
#define EXV_DLLPUBLIC
 
84
#define EXIV2API
 
85
#endif
 
86
 
 
87
/* Define EXIV2API for DLL builds */
 
88
#ifdef   EXV_HAVE_DLL
 
89
#  ifdef EXV_BUILDING_LIB
 
90
#    define EXIV2API EXV_EXPORT
 
91
#  else
 
92
#    define EXIV2API EXV_IMPORT
 
93
#  endif /* ! EXV_BUILDING_LIB */
 
94
#else
 
95
#  define EXIV2API
 
96
#endif /* ! EXV_HAVE_DLL */
 
97
 
 
98
 
 
99
/*
 
100
  Disable warning 4251.  This is warning from std templates about exporting interfaces
 
101
*/
 
102
#ifdef  EXV_HAVE_DLL
 
103
#pragma warning( disable : 4251 )
 
104
#endif
 
105
/*
 
106
  Visual Studio C++ 2005 (8.0)
 
107
  Disable warnings about 'deprecated' standard functions
 
108
  See, eg. http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=259
 
109
*/
 
110
#if _MSC_VER >= 1400
 
111
# pragma warning(disable : 4996)
 
112
#endif
 
113
 
 
114
#endif /* _MSC_VER */