diff options
Diffstat (limited to 'ace/ace_assert.h')
-rw-r--r-- | ace/ace_assert.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ace/ace_assert.h b/ace/ace_assert.h new file mode 100644 index 00000000000..b2045142325 --- /dev/null +++ b/ace/ace_assert.h @@ -0,0 +1,30 @@ +/* -*- C++ -*- */ + +//============================================================================= +/** + * @file ace_assert.h + * + * $Id$ + * + * @author Douglas C. Schmidt (schmidt@cs.wustl.edu) + * @author etc + */ +//============================================================================= + +#ifndef ACE_ASSERT_H +#define ACE_ASSERT_H +#include "ace/pre.h" + +#include "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include /**/ <assert.h> + +# if defined (ACE_LACKS_ASSERT_MACRO) +# define assert(expr) +# endif + +#endif /* ACE_ASSERT_H */ |