aboutsummaryrefslogtreecommitdiff
path: root/platform.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-08-16 20:58:20 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-08-16 20:58:20 +0200
commitfe7b13889217f4268d87d3712cb9ffe265e6a4e2 (patch)
tree59a17a13bdd9f22281bb0a59d8056675814a0cfd /platform.h
parent01c2b8d710ff5a526d1ae2ed2a7fafdec0b1f973 (diff)
some stuff
- finish BRANDT_destroy() - fix include mess related to platform.h and brandt_config.h - add first brandt.c testcase
Diffstat (limited to 'platform.h')
-rw-r--r--platform.h44
1 files changed, 21 insertions, 23 deletions
diff --git a/platform.h b/platform.h
index 8a1b305..e47c28c 100644
--- a/platform.h
+++ b/platform.h
@@ -1,24 +1,25 @@
-/*
- This file is part of TALER
- Copyright (C) 2014 Chrisitan Grothoff (and other contributing authors)
-
- TALER is free software; you can redistribute it and/or modify it under the
- terms of the GNU General Public License as published by the Free Software
- Foundation; either version 3, or (at your option) any later version.
-
- TALER is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along with
- TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
-*/
+/* This file is part of libbrandt.
+ * Copyright (C) 2016 GNUnet e.V.
+ *
+ * libbrandt is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * libbrandt is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * libbrandt. If not, see <http://www.gnu.org/licenses/>.
+ */
/**
* @file platform.h
- * @brief This file contains the includes and definitions which are used by the
- * rest of the modules
- * @author Sree Harsha Totakura <sreeharsha@totakura.in>
+ * @brief This file was adapted from TALER and contains some magic
+ * configuration. It should be included in every compilation as the first
+ * include directive, since it sets up defines which are used in other includes.
+ * @author Markus Teich
*/
#ifndef PLATFORM_H_
@@ -29,11 +30,8 @@
# define HAVE_USED_CONFIG_H
# ifdef HAVE_CONFIG_H
# include "brandt_config.h"
-# endif
-#endif
-
-/* Include the features available for GNU source */
-#define _GNU_SOURCE
+# endif /* ifdef HAVE_CONFIG_H */
+#endif /* ifndef HAVE_USED_CONFIG_H */
/* Include GNUnet's platform file */
#include <gnunet/platform.h>