blob: abf526f1a72eed3eb2ba83358d05b19a5259bbaf [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001//Copyright (c) 2009 Emil Dotchevski and Reverge Studios, Inc.
2
3//Distributed under the Boost Software License, Version 1.0. (See accompanying
4//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6#ifndef UUID_61531AB0680611DEADD5846855D89593
7#define UUID_61531AB0680611DEADD5846855D89593
8
9#if defined(_MSC_VER)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070010#define NDNBOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070011#elif defined(__GNUC__)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070012#define NDNBOOST_ATTRIBUTE_NORETURN __attribute__((__noreturn__))
Jeff Thompsonf7d49942013-08-01 16:47:40 -070013#else
Jeff Thompson3d613fd2013-10-15 15:39:04 -070014#define NDNBOOST_ATTRIBUTE_NORETURN
Jeff Thompsonf7d49942013-08-01 16:47:40 -070015#endif
16
17#endif