1
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
// vim: expandtab:ts=8:sw=4:softtabstop=4:
3
///////////////////////////////////////////////////////////////////////////////
6
/// \brief Common includes, definions, and prototypes
8
// Author: Lasse Collin
10
// This file has been put into the public domain.
11
// You can do whatever you want with this file.
13
///////////////////////////////////////////////////////////////////////////////
19
#include <sys/types.h>
29
# define _(msgid) gettext(msgid)
30
# define N_(msgid1, msgid2, n) ngettext(msgid1, msgid2, n)
32
# define _(msgid) (msgid)
33
# define N_(msgid1, msgid2, n) ((n) == 1 ? (msgid1) : (msgid2))
37
# define STDIN_FILENO (fileno(stdin))
41
# define STDOUT_FILENO (fileno(stdout))
45
# define STDERR_FILENO (fileno(stderr))