fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / solenv / gdb / libreoffice / util / compatibility.py
blob6d807099716faaf8431ce44e27d0b462ed48bc56
1 # -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 import gdb
12 use_gdb_printing = True
13 try:
14 import gdb.printing
15 except ImportError:
16 use_gdb_printing = False
18 use_lazy_string = hasattr(gdb.Value, 'lazy_string')
20 # vim:set shiftwidth=4 softtabstop=4 expandtab: