Skip to content

Commit

Permalink
Fixed compile error in VC2017, bool, true, false are not defined in C
Browse files Browse the repository at this point in the history
  • Loading branch information
abathur8bit committed Mar 8, 2018
1 parent d29ff4c commit eba0033
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions becker/becker.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#ifndef __BECKER_H__
#define __BECKER_H__

#define bool int
#define true 1
#define false 0

// functions
void MemWrite(unsigned char,unsigned short );
unsigned char MemRead(unsigned short );
Expand Down

0 comments on commit eba0033

Please sign in to comment.