-/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <smpi/smpi.h>
#define AMPI_CALL(type, name, args) \
- type A##name args __attribute__((weak)); \
- type AP##name args;
+ type _XBT_CONCAT(A, name) args __attribute__((weak)); \
+ type _XBT_CONCAT(AP, name) args;
#ifndef HAVE_SMPI
// Internally disable these overrides (HAVE_SMPI is only defined when building the library)