~tristan957/harvest-almanac

ref: 0f0fa7109d3fb40354c03f4ba0fcda63df8280e4 harvest-almanac/harvest-almanac/config.h.in -rw-r--r-- 780 bytes
0f0fa710Tristan Partin harvest-glib: fix implicit fallthrough 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#ifdef __GNUC__
#	define HAL_COMPILER GCC
#elif __clang__
#	define HAL_COMPILER clang
#endif

#ifdef HAL_COMPILER
#	define HAL_DIAGNOSTIC_PUSH (HAL_COMPILER diagnostic push)
#	define HAL_DIAGNOSTIC_POP (HAL_COMPILER diagnostic pop)
#	define HAL_DIAGNOSTIC_IGNORED (HAL_COMPILER diagnostic ignored)
#else
#	define HAL_DIAGNOSTIC_PUSH
#	define HAL_DIAGNOSTIC_POP
#	define HAL_DIAGNOSTIC_IGNORED
#endif

#define PACKAGE_NAME "@package_name@"
#define PACKAGE_VERSION "@package_version@"
// clang-format off
#define PACKAGE_LICENSE @package_license@
// clang-format on
#define PACKAGE_WEBSITE "@package_website@"
#define PACKAGE_WEBSITE_LABEL "@package_website_label@"
#define GETTEXT_PACKAGE "@gettext_package@"
#define LOCALEDIR "@localedir@"
#define LIBDIR "@libdir@"