aboutsummaryrefslogtreecommitdiff
path: root/platform.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-13 14:06:48 +0200
committerChristian Grothoff <christian@grothoff.org>2016-07-13 14:06:48 +0200
commit6db16591959229cfec0a7655988ee2bfdd1e2e7a (patch)
tree95a4a68cf838672197edd7b588f34f3abde6a449 /platform.h
parentdc075e943aa4be55f81e2ab34d5aef9631e9a237 (diff)
downloadlibbrandt-6db16591959229cfec0a7655988ee2bfdd1e2e7a.tar.gz
libbrandt-6db16591959229cfec0a7655988ee2bfdd1e2e7a.zip
fix by including platform.h
Diffstat (limited to 'platform.h')
-rw-r--r--platform.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/platform.h b/platform.h
new file mode 100644
index 0000000..8a1b305
--- /dev/null
+++ b/platform.h
@@ -0,0 +1,49 @@
1/*
2 This file is part of TALER
3 Copyright (C) 2014 Chrisitan Grothoff (and other contributing authors)
4
5 TALER is free software; you can redistribute it and/or modify it under the
6 terms of the GNU General Public License as published by the Free Software
7 Foundation; either version 3, or (at your option) any later version.
8
9 TALER is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License along with
14 TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
15*/
16
17/**
18 * @file platform.h
19 * @brief This file contains the includes and definitions which are used by the
20 * rest of the modules
21 * @author Sree Harsha Totakura <sreeharsha@totakura.in>
22 */
23
24#ifndef PLATFORM_H_
25#define PLATFORM_H_
26
27/* Include our configuration header */
28#ifndef HAVE_USED_CONFIG_H
29# define HAVE_USED_CONFIG_H
30# ifdef HAVE_CONFIG_H
31# include "brandt_config.h"
32# endif
33#endif
34
35/* Include the features available for GNU source */
36#define _GNU_SOURCE
37
38/* Include GNUnet's platform file */
39#include <gnunet/platform.h>
40
41/* Do not use shortcuts for gcrypt mpi */
42#define GCRYPT_NO_MPI_MACROS 1
43
44/* Do not use deprecated functions from gcrypt */
45#define GCRYPT_NO_DEPRECATED 1
46
47#endif /* PLATFORM_H_ */
48
49/* end of platform.h */