Skip to content

Commit 7b31f85

Browse files
committed
function like macro
1 parent f4f2884 commit 7b31f85

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef _FUNCTION_LIKE_MACRO_
2+
#define _FUNCTION_LIKE_MACRO_
3+
4+
#define ABS(x) ((x) < (0) ? ((x) * (-1)) : (x))
5+
6+
#endif

0 commit comments

Comments
 (0)