Mercurial > molko
annotate src/libmlk-adventure/adventure/adventure_p.h @ 320:8f9937403749
misc: improve loading of data
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 01 Oct 2021 20:30:00 +0200 |
parents | libmlk-adventure/adventure/adventure_p.h@d01e83210ca2 |
children |
rev | line source |
---|---|
243 | 1 /* |
2 * adventure_p.h -- libmlk-adventure private definitions | |
3 * | |
314 | 4 * Copyright (c) 2020-2021 David Demelier <markand@malikania.fr> |
243 | 5 * |
6 * Permission to use, copy, modify, and/or distribute this software for any | |
7 * purpose with or without fee is hereby granted, provided that the above | |
8 * copyright notice and this permission notice appear in all copies. | |
9 * | |
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
17 */ | |
18 | |
19 #ifndef MOLKO_ADVENTURE_ADVENTURE_P_H | |
20 #define MOLKO_ADVENTURE_ADVENTURE_P_H | |
21 | |
301
f04b4ee04db3
make: switch to GNU make
David Demelier <markand@malikania.fr>
parents:
286
diff
changeset
|
22 #include "config.h" |
243 | 23 |
24 #if defined(MOLKO_WITH_NLS) | |
25 # include <libintl.h> | |
286
3991779aaba9
adventure: initial test of spawn
David Demelier <markand@malikania.fr>
parents:
262
diff
changeset
|
26 # define _(s) dgettext("libmlk-adventure", s) |
3991779aaba9
adventure: initial test of spawn
David Demelier <markand@malikania.fr>
parents:
262
diff
changeset
|
27 # define N_(s) s |
243 | 28 #else |
286
3991779aaba9
adventure: initial test of spawn
David Demelier <markand@malikania.fr>
parents:
262
diff
changeset
|
29 # define _(s) s |
3991779aaba9
adventure: initial test of spawn
David Demelier <markand@malikania.fr>
parents:
262
diff
changeset
|
30 # define N_(s) s |
243 | 31 #endif |
32 | |
33 #endif /* !MOLKO_ADVENTURE_ADVENTURE_P_H */ |