Skip to content

Commit

Permalink
macOS header inclusion error fix (#44)
Browse files Browse the repository at this point in the history
* Fixed header inclusion error on macOS

* Ignored debugging file

* Removed files I added on accident

* Removed files I added on accident
  • Loading branch information
rien333 authored and fabianishere committed Aug 25, 2017
1 parent e51e9f3 commit f61a755
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ CMakeCache.txt
CMakeFiles
cmake_install.cmake
install_manifest.txt

brainfuck.rb
CmakeListsINSTALL.txt
libbrainfuck.a
brainfuck

4 changes: 3 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
#include <ctype.h>

#include <editline/readline.h>
#include <editline/history.h>
#ifndef __APPLE__
#include <editline/history.h>
#endif

#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
#define isatty _isatty
Expand Down

0 comments on commit f61a755

Please sign in to comment.