diff options
Diffstat (limited to 'ace/os_include/assert.h')
-rw-r--r-- | ace/os_include/assert.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ace/os_include/assert.h b/ace/os_include/assert.h new file mode 100644 index 00000000000..fa4d285085d --- /dev/null +++ b/ace/os_include/assert.h @@ -0,0 +1,33 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file assert.h + * + * verify program assertion + * + * $Id$ + * + * @author Don Hinton <dhinton@ieee.org> + * @author This code was originally in various places including ace/OS.h. + */ +//============================================================================= + +#ifndef ACE_OS_INCLUDE_ASSERT_H +#define ACE_OS_INCLUDE_ASSERT_H + +#include "ace/pre.h" + +#include "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#if !defined (ACE_LACKS_ASSERT_H) +# include /**/ <assert.h> +#endif /* !ACE_LACKS_ASSERT_H */ + +// @todo define assert macro if needed.. + +#endif /* ACE_OS_INCLUDE_ASSERT_H */ |