~kklimonda/ubuntu/natty/glibmm2.4/update

« back to all changes in this revision

Viewing changes to MSVC_Net2008/giomm/giommconfig.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-08-28 08:32:22 UTC
  • mfrom: (1.2.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20090828083222-qr6jekfjlsz52rb7
Tags: 2.21.4.1-0ubuntu1
* New upstream release: (LP: #419705)
  2.21.4.1
  - Reenable hierarchy graphs for each class
  - Remove header and footer HTML fragments
  - Use shared mm-common Doxygen style sheet
  2.21.4
  - Transition to new mm-common build infrastructure
  - Correct the if condition in Gio::MemoryInputStream::add_data().
* debian/control.in:
  - Remove debian VCS links as they confuse debcheckout
* debian/libglibmm-2.4-dev.install:
  - Install files from /usr/share/glibmm-2.4/doctool

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* gio/giommconfig.h.  Generated from giommconfig.h.in by configure.  */
2
2
#ifndef _GIOMM_CONFIG_H
3
 
#define _GIOMM_CONFIG_H 1
4
 
 
5
 
/* version numbers */
6
 
/* #undef GIOMM_MAJOR_VERSION */
7
 
/* #undef GIOMM_MINOR_VERSION */
8
 
/* #undef GIOMM_MICRO_VERSION */
9
 
 
10
 
// detect common platforms
11
 
#if defined(_WIN32)
12
 
// Win32 compilers have a lot of varation
13
 
#if defined(_MSC_VER)
14
 
#define GIOMM_MSC
15
 
#define GIOMM_WIN32
16
 
#define GIOMM_DLL
17
 
#elif defined(__CYGWIN__)
18
 
#define GIOMM_CONFIGURE
19
 
#elif defined(__MINGW32__)
20
 
#define GIOMM_WIN32
21
 
#define GIOMM_CONFIGURE
22
 
#else
23
 
//AIX clR compiler complains about this even though it doesn't get this far:
24
 
//#warning "Unknown architecture (send me gcc --dumpspecs or equiv)"
25
 
#endif
26
 
#else
27
 
#define GIOMM_CONFIGURE
28
 
#endif /* _WIN32 */
29
 
 
30
 
#ifdef GIOMM_CONFIGURE
31
 
/* compiler feature tests that are used during compile time and run-time
32
 
   by gtk-- only. tests used by gdk-- and gtk-- should go into
33
 
   gdk--config.h.in */
 
3
#define _GIOMM_CONFIG_H
 
4
 
 
5
#include <glibmmconfig.h>
 
6
 
 
7
/* Define to omit deprecated API from the library. */
 
8
/* #undef GIOMM_DISABLE_DEPRECATED */
 
9
 
 
10
/* Major version number of giomm. */
 
11
#define GIOMM_MAJOR_VERSION 2
 
12
 
 
13
/* Micro version number of giomm. */
 
14
#define GIOMM_MICRO_VERSION 4
 
15
 
 
16
/* Minor version number of giomm. */
 
17
#define GIOMM_MINOR_VERSION 21
 
18
 
 
19
/* Define if giomm is built as a static library */
34
20
/* #undef GIOMM_STATIC_LIB */
35
 
/* #undef GIOMM_CXX_HAVE_MUTABLE */
36
 
/* #undef GIOMM_CXX_HAVE_NAMESPACES */
37
 
//#undef GIOMM_CXX_GAUB
38
 
//#undef GIOMM_CXX_AMBIGUOUS_TEMPLATES
39
 
/* #undef GIOMM_HAVE_NAMESPACE_STD */
40
 
/* #undef GIOMM_HAVE_STD_ITERATOR_TRAITS */
41
 
/* #undef GIOMM_HAVE_SUN_REVERSE_ITERATOR */
42
 
/* #undef GIOMM_HAVE_TEMPLATE_SEQUENCE_CTORS */
43
 
/* #undef GIOMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS */
44
 
/* #undef GIOMM_COMPILER_SUN_FORTE */
45
 
/* #undef GIOMM_DEBUG_REFCOUNTING */
46
 
/* #undef GIOMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION */
47
 
/* #undef GIOMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS */
48
 
/* #undef GIOMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC */
49
 
/* #undef GIOMM_HAVE_ALLOWS_STATIC_INLINE_NPOS */
50
 
#endif
51
 
 
52
 
#ifdef GIOMM_MSC
53
 
  #define GIOMM_CXX_HAVE_MUTABLE 1
54
 
  #define GIOMM_CXX_HAVE_NAMESPACES 1
55
 
  #define GIOMM_HAVE_NAMESPACE_STD 1
56
 
  #define GIOMM_HAVE_STD_ITERATOR_TRAITS 1
57
 
  #define GIOMM_HAVE_TEMPLATE_SEQUENCE_CTORS 2
58
 
  #define GIOMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS 1
59
 
  #define GIOMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION 1
60
 
  #define GIOMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS 1
61
 
  #define GIOMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC 1
62
 
  #pragma warning (disable: 4786 4355 4800 4181)
63
 
#endif
64
 
 
65
 
#ifndef GIOMM_HAVE_NAMESPACE_STD
66
 
#  define GIOMM_USING_STD(Symbol) namespace std { using ::Symbol; }
67
 
#else
68
 
#  define GIOMM_USING_STD(Symbol) /* empty */
69
 
#endif
70
21
 
71
22
// Enable DLL-specific stuff only when not building a static library
72
23
#if !defined(__CYGWIN__) && defined(__MINGW32__) && !defined(GIOMM_STATIC_LIB)
73
 
  #define GIOMM_DLL
 
24
# define GIOMM_DLL 1
74
25
#endif
75
26
 
76
27
#ifdef GIOMM_DLL
77
 
  #if defined(GIOMM_BUILD) && defined(_WINDLL)
78
 
    /* Do not dllexport as it is handled by gendef on MSVC */
79
 
    #define GIOMM_API 
80
 
  #elif !defined(GIOMM_BUILD)
81
 
    #define GIOMM_API __declspec(dllimport)
82
 
  #else
83
 
    /* Build a static library */
84
 
    #define GIOMM_API
85
 
  #endif /* GIOMM_BUILD - _WINDLL */
 
28
# if defined(GIOMM_BUILD) && defined(_WINDLL)
 
29
   /* Do not dllexport as it is handled by gendef on MSVC */
 
30
#  define GIOMM_API
 
31
# elif !defined(GIOMM_BUILD)
 
32
#  define GIOMM_API __declspec(dllimport)
 
33
# else
 
34
   /* Build a static library */
 
35
#  define GIOMM_API
 
36
# endif /* GIOMM_BUILD - _WINDLL */
86
37
#else
87
 
  #define GIOMM_API
 
38
# define GIOMM_API
88
39
#endif /* GIOMM_DLL */
89
40
 
90
41
#endif /* _GIOMM_CONFIG_H */
91