Skip to content

Commit

Permalink
Update afx.h
Browse files Browse the repository at this point in the history
  • Loading branch information
neuks authored Nov 15, 2016
1 parent 9212d23 commit 48491cc
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions afx.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@
#include <windows.h>
#include <commctrl.h>

#ifndef DEBUG
#define INFORM(cond)
#define ASSERT(cond)
#else
#define INFORM(cond) \
if(cond) \
{ \
char buf[255]; \
printf(buf, "%s:%d:INFORM:%s\n", __FILE__, __LINE__, #cond); \
}
#define ASSERT(cond) \
if(cond) \
{ \
char buf[255]; \
printf(buf, "%s:%d:ASSERT:%s\n", __FILE__, __LINE__, #cond); \
exit(-1); \
}
#endif //DEBUG

struct CWnd
{
// Attribute Information
Expand Down

0 comments on commit 48491cc

Please sign in to comment.