Skip to content

Commit

Permalink
Fix build error for IGWarnAssert
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuther committed Sep 19, 2023
1 parent 21cf3c0 commit f6c79de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/IGListDiffKit/IGListAssert.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@
*/

#ifndef IGAssert
#define IGAssert( condition, ... ) NSCAssert( (condition) , ##__VA_ARGS__)
#define IGAssert( condition, desc, ... ) NSCAssert( (condition) , (desc) , ##__VA_ARGS__)
#endif // IGAssert

#ifndef IGWarn
#define IGWarn( condition, ... ) NSCAssert( (condition) , ##__VA_ARGS__)
#define IGWarn( condition, desc, ... ) NSCAssert( (condition) , (desc) , ##__VA_ARGS__)
#endif // IGWarn

#ifndef IGWarnAssert
#define IGWarnAssert(frmt, ... ) IGAssert( (NO) , ##__VA_ARGS__)
#define IGWarnAssert( desc, ... ) IGAssert( (NO) , (desc) , ##__VA_ARGS__)
#endif // IGWarnAssert

#ifndef IGFailAssert
#define IGFailAssert( ... ) IGAssert( (NO) , ##__VA_ARGS__)
#define IGFailAssert( desc, ... ) IGAssert( (NO) , (desc) , ##__VA_ARGS__)
#endif // IGFailAssert

#ifndef IGFailure
#define IGFailure( ... ) IGAssert( (NO) , ##__VA_ARGS__)
#define IGFailure( desc, ... ) IGAssert( (NO) , (desc) , ##__VA_ARGS__)
#endif // IGFailure


Expand Down

0 comments on commit f6c79de

Please sign in to comment.