/[svn]/gigedit/trunk/src/gigedit/compat.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/compat.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3450 by schoenebeck, Wed Jan 2 16:39:20 2019 UTC revision 3460 by persson, Sat Feb 2 07:48:50 2019 UTC
# Line 1  Line 1 
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
# Line 50  Line 50 
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

Legend:
Removed from v.3450  
changed lines
  Added in v.3460

  ViewVC Help
Powered by ViewVC