]> git.ipfire.org Git - thirdparty/gcc.git/blame - libobjc/objc-private/common.h
Update copyright years.
[thirdparty/gcc.git] / libobjc / objc-private / common.h
CommitLineData
6dead247 1/* GNU Objective C Runtime Common Private Definitions
8d9254fc 2 Copyright (C) 2010-2020 Free Software Foundation, Inc.
6dead247
NP
3 Contributed by Nicola Pero
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify it under the
8terms of the GNU General Public License as published by the Free Software
9Foundation; either version 3, or (at your option) any later version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14details.
15
16Under Section 7 of GPL version 3, you are granted additional
17permissions described in the GCC Runtime Library Exception, version
183.1, as published by the Free Software Foundation.
19
20You should have received a copy of the GNU General Public License and
21a copy of the GCC Runtime Library Exception along with this program;
22see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23<http://www.gnu.org/licenses/>. */
24
25#ifndef __objc_private_common_INCLUDE_GNU
26#define __objc_private_common_INCLUDE_GNU
27
28/* This file contains definitions that should be included by all .c
9c68c0e5 29 and .m files in libobjc. */
6dead247 30
df0820da
NP
31/* When debugging libobjc, add
32
33 #define DEBUG 1
34
35 at the very beginning of a file in libobjc (before including this file) to turn
36 on DEBUG_PRINTF(). */
9c68c0e5 37#ifdef DEBUG
df0820da 38#include <stdio.h>
9c68c0e5
NP
39#define DEBUG_PRINTF(format, args...) printf (format, ## args)
40#else
41#define DEBUG_PRINTF(format, args...)
42#endif
43
6dead247 44#endif /* __objc_private_common_INCLUDE_GNU */