source: branches/stable/TEMPLATES/arb_simple_assert.h

Last change on this file was 16763, checked in by westram, 6 years ago
File size: 1.2 KB
Line 
1// ============================================================ //
2//                                                              //
3//   File      : arb_simple_assert.h                            //
4//   Purpose   : simple assert (independent from libCORE)       //
5//                                                              //
6//   Coded by Ralf Westram (coder@reallysoft.de) in June 2013   //
7//   Institute of Microbiology (Technical University Munich)    //
8//   http://www.arb-home.de/                                    //
9//                                                              //
10// ============================================================ //
11
12#ifndef ARB_SIMPLE_ASSERT_H
13#define ARB_SIMPLE_ASSERT_H
14
15#if !defined(SIMPLE_ARB_ASSERT)
16#error you have to define SIMPLE_ARB_ASSERT in Makefile and pass it to compiler and makedepend
17// please DO NOT define SIMPLE_ARB_ASSERT in code
18#endif
19
20#ifndef CXXFORWARD_H
21#include "cxxforward.h"
22#endif
23
24#ifndef ARB_ASSERT_H
25#include <arb_assert.h>
26#else
27#error included arb_simple_assert.h too late (arb_assert.h already has been included)
28#endif
29
30#else
31#error arb_simple_assert.h included twice
32#endif // ARB_SIMPLE_ASSERT_H
Note: See TracBrowser for help on using the repository browser.