1 |
/* -*- c++ -*- |
/* -*- c++ -*- |
2 |
* Copyright (C) 2011-2017 Andreas Persson |
* Copyright (C) 2011-2019 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
50 |
# include <gtkmmconfig.h> |
# include <gtkmmconfig.h> |
51 |
#endif |
#endif |
52 |
|
|
53 |
#ifndef HAS_PANGOMM_CPP11_ENUMS // pangomm > 2.40 : <- just a "guess" |
#ifndef HAS_PANGOMM_CPP11_ENUMS |
54 |
# if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && PANGOMM_MINOR_VERSION > 40) |
// new enums introduced in unstable pangomm 2.41.3, but not in stable 2.42 |
55 |
|
# if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && ((PANGOMM_MINOR_VERSION == 41 && PANGOMM_MICRO_VERSION >= 3) || PANGOMM_MINOR_VERSION > 42)) |
56 |
# define HAS_PANGOMM_CPP11_ENUMS 1 |
# define HAS_PANGOMM_CPP11_ENUMS 1 |
57 |
# else |
# else |
58 |
# define HAS_PANGOMM_CPP11_ENUMS 0 |
# define HAS_PANGOMM_CPP11_ENUMS 0 |