Skip to content

Commit

Permalink
Fix macro redefinition warning for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Mar 26, 2021
1 parent 00c414f commit 15c390f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/portable.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "portable.h"
#include "qcstring.h"

#include <stdlib.h>
#include <stdio.h>
Expand Down
4 changes: 4 additions & 0 deletions src/qcstring.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@
#include <cstdint>
#include <ostream>

#ifndef FALSE
#define FALSE false
#endif
#ifndef TRUE
#define TRUE true
#endif
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned uint;
Expand Down

0 comments on commit 15c390f

Please sign in to comment.