summaryrefslogtreecommitdiffstats
path: root/src/eulogium_private.h
blob: 3735b7036d84061110286bfc54f9f74b7c2672fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * eulogium_private, some common private helpers
 *
 * Copyright (c) 2015 Ultimaker B.V.
 * Author: Olliver Schinagl <o.schinagl@ultimaker.com>
 *
 * SPDX-License-Identifier:	AGPL-3.0+
 */

#ifndef _EULOGIUM_PRIVATE_H
#define _EULOGIUM_PRIVATE_H

#include <libintl.h>

#include "gettext.h"

#if HAVE_GETTEXT && ENABLE_NLS
#define _(string) gettext(string)
#else
#define _(string) (string)
#endif

#endif /* _EULOGIUM_PRIVATE_H */