Mercurial > hg > MonetDB-extend
changeset 54:9ff721585946
Simplify a little. This works with current default branch.
author | Sjoerd Mullender <sjoerd@acm.org> |
---|---|
date | Mon, 13 Dec 2021 12:40:58 +0100 (2021-12-13) |
parents | 781ffab3a87a |
children | 68263b10998e |
files | cxx-reverse/reverse.cpp |
diffstat | 1 files changed, 5 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/cxx-reverse/reverse.cpp Tue Nov 30 21:32:47 2021 +0100 +++ b/cxx-reverse/reverse.cpp Mon Dec 13 12:40:58 2021 +0100 @@ -8,23 +8,15 @@ /* monetdb_config.h must be included as the first include file */ -#define restrict __restrict__ -#define _Noreturn [[ noreturn ]] - -#include <atomic> // must be included before matomic.h is included using namespace std; -extern "C" { - #include <monetdb_config.h> - +#include <monetdb_config.h> - /* mal_exception.h actually contains everything we need */ - #include <mal_exception.h> +/* mal_exception.h actually contains everything we need */ +#include <mal_exception.h> - /* system include files */ - #include <string.h> -} - +/* system include files */ +#include <string.h> /* dst is a buffer of length larger than len (i.e. dst[len] exists),