X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38f8eda853bd8930373306f859bd361f39190784..163bc68650e863fa9b005f115bb44337b9ccfbd3:/src/simix/smx_context.cpp diff --git a/src/simix/smx_context.cpp b/src/simix/smx_context.cpp index 725ce4ae75..86e1d7d339 100644 --- a/src/simix/smx_context.cpp +++ b/src/simix/smx_context.cpp @@ -1,12 +1,15 @@ /* a fast and simple context switching library */ -/* Copyright (c) 2009-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-2022. 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 "src/kernel/context/Context.hpp" +#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v333) +#include + int SIMIX_context_is_parallel() // XBT_ATTRIB_DEPRECATED_v333 { return simgrid::kernel::context::is_parallel();