source: tags/ms_r16q2/TEMPLATES/arb_simple_assert.h

Last change on this file was 10148, checked in by westram, 11 years ago
  • makedepend changed behavior between 1.0.2 and 1.0.4
    • 1.0.4 does generate impossible dependencies (see [10143] for an example)
    • force correct behavior by defining SIMPLE_ARB_ASSERT on CLI (when invoking compiler and makedepend)
File size: 1.1 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 ARB_ASSERT_H
21#include <arb_assert.h>
22#else
23#error included arb_simple_assert.h too late (arb_assert.h already has been included)
24#endif
25
26#else
27#error arb_simple_assert.h included twice
28#endif // ARB_SIMPLE_ASSERT_H
Note: See TracBrowser for help on using the repository browser.