-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAssert.h
33 lines (30 loc) · 1.04 KB
/
Assert.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef ASSERT_H
#define ASSERT_H
//--------------------------------------------------------------------
//
// Copyright (C) 2022 [email protected]
//
// Miami University makes no representations or warranties about the
// suitability of the software, either express or implied, including
// but not limited to the implied warranties of merchantability,
// fitness for a particular purpose, or non-infringement. Miami
// University shall not be liable for any damages suffered by licensee
// as a result of using, result of using, modifying or distributing
// this software or its derivatives.
//
// By using or copying this Software, Licensee agrees to abide by the
// intellectual property laws, and all other applicable laws of the
// U.S., and the terms of GNU General Public License (version 3).
//
// Authors: DJ Rao [email protected]
//
//---------------------------------------------------------------------
#ifndef ASSERT
#ifdef DEVELOPER_ASSERTIONS
#include <assert.h>
#define ASSERT(x) assert(x)
#else
#define ASSERT(x)
#endif
#endif
#endif