1 ///////////////////////////////////////////////////////////////////////////////
4 /// \brief Common includes, definions, and prototypes
6 // Author: Lasse Collin
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
11 ///////////////////////////////////////////////////////////////////////////////
17 #include <sys/types.h>
27 # define _(msgid) gettext(msgid)
28 # define N_(msgid1, msgid2, n) ngettext(msgid1, msgid2, n)
30 # define _(msgid) (msgid)
31 # define N_(msgid1, msgid2, n) ((n) == 1 ? (msgid1) : (msgid2))
35 # define STDIN_FILENO (fileno(stdin))
39 # define STDOUT_FILENO (fileno(stdout))
43 # define STDERR_FILENO (fileno(stderr))