diff options
| -rw-r--r-- | include/config.h | 2 | ||||
| -rw-r--r-- | include/config.h.in | 2 | ||||
| -rw-r--r-- | src/yetihack.cpp | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h deleted file mode 100644 index e187647..0000000 --- a/include/config.h +++ /dev/null @@ -1,2 +0,0 @@ -#define HAVE_UNISTD_H -/* #undef HAVE_WINDOWS_H */ diff --git a/include/config.h.in b/include/config.h.in new file mode 100644 index 0000000..03d9bcf --- /dev/null +++ b/include/config.h.in @@ -0,0 +1,2 @@ +#cmakedefine HAVE_UNISTD_H +#cmakedefine HAVE_WINDOWS_H diff --git a/src/yetihack.cpp b/src/yetihack.cpp index 129d759..694efa5 100644 --- a/src/yetihack.cpp +++ b/src/yetihack.cpp @@ -16,6 +16,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with YetiHack. If not, see <http://www.gnu.org/licenses/>. */ +#include <config.h> #include <iostream> #include <curses.h> #include <cstdlib> |
