Changeset 3771 for issm/trunk/src/c/include/macros.h
- Timestamp:
- 05/17/10 10:06:48 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/c/include/macros.h ¶
r3595 r3771 5 5 #ifndef _MACROS_H_ 6 6 #define _MACROS_H_ 7 8 #ifdef HAVE_CONFIG_H 9 #include "config.h" 10 #else 11 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" 12 #endif 7 13 8 14 /*Printing macro: */ … … 24 30 #else 25 31 #define ISSMASSERT(ignore)\ 26 ((void) 0)32 printf("ISSM_DEBUG undefined\n"); 27 33 #endif 34 #define ISSMASSERT2(statement)\ 35 if (!(statement)) ISSMERROR("ASSERT2 STOP"); else printf("NO STOP\n") 28 36 29 37 /*The following macros hide the error exception handling in a matlab module. Just put
Note:
See TracChangeset
for help on using the changeset viewer.